![Learning Informatica PowerCenter 10.x(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/856/36700856/b_36700856.jpg)
上QQ阅读APP看书,第一时间看更新
Working with fixed width files
Following are the steps that you will have to perform to work with fixed width files:
- In the Designer, go to Tools | Source Analyzer to open the Source Analyzer.
- Go to Sources | Import from File...:
![](https://epubservercos.yuewen.com/679DC5/19470405301626306/epubprivate/OEBPS/Images/93709cf8-1e0a-4b11-a85b-5042fdd2dd51.png?sign=1739178814-trmxKjCPhgH9kdNDtonIDWcrudWCL0av-0-f844e3ef2cd1c20fe366e1889501b6d5)
- Browse the files you wish to use as source files. We are using EMP_SRC_FILE as reference to import the fixed width file.
- The flat file import wizard will come up.
- Select the file type--fixed width.
- Click on Next:
![](https://epubservercos.yuewen.com/679DC5/19470405301626306/epubprivate/OEBPS/Images/a2460f52-16c4-4912-9440-edca7f9ceb63.png?sign=1739178814-Y3iXgYMngVFnppzOgRpR6TxrRNd5t5OA-0-45999cdaf1aaacd2347ef7886682e7ae)
- As against the delimited files, we will now need to set the width of each column as per the requirement. This will help us in dividing the file in a proper column-wise manner.
- Click on Next:
![](https://epubservercos.yuewen.com/679DC5/19470405301626306/epubprivate/OEBPS/Images/79578c32-9d9c-498e-a50b-b8d1269d4186.png?sign=1739178814-pL235r7Pa58pQTYwaxYE6PzDlccltIZ3-0-6402f00fdc7f5f56c654da4d5e1a382b)
- Specify the columns name, data type, and precision in the data view option. You can edit the column names and other details in this view:
![](https://epubservercos.yuewen.com/679DC5/19470405301626306/epubprivate/OEBPS/Images/805036e4-bc8f-469f-b1f1-f1263eb64c12.png?sign=1739178814-BB3NhYazE1QsvABnt6sf8KYF2i0VAkaV-0-39a8416717ebd095b0cd7e6ddbaaa061)
- Click on Next.
- Click on Finish to get the source imported in the Source Analyzer as shown in the following screenshot:
![](https://epubservercos.yuewen.com/679DC5/19470405301626306/epubprivate/OEBPS/Images/b41ac7b5-2e1e-479b-9343-feb0e2950f95.png?sign=1739178814-SCjfFvyzstlOAYjuEnN2Cq6XXnznLXGx-0-9cb0c70175f4350bacd6eae4456f6093)
We now move on to the last section of working with sources, that is creating Source options.