FTP VB File from Mainframe to Datastage
Posted: Fri Mar 25, 2011 9:16 am
I am trying to bring down Variable block file from Mainframe to the Datastage.
I've tried whole bunch of settings and may be missing something that I cant figure out. Please share your knowledge with this fellow.
Mainframe File is pipe delimited, has Mainframe LRECL=86, and every record ends with pipe.
Tried settings:
---------------
FTP stage:
Record level>>Record Type=varying
Record level>>Record Type>>Format VB
Field defalults:
Tried both:
Delimiter: none
Delimiter: |
Type defaults
General>> Character set=EBCDIC
General>>Data format=binary
Reading file as a Char and have tried both no Length or with 82 length.
Text File which saves the input has following settnigs:
Writing file as Char and have tried with 82 length and without.
Final Del=end
Rec Del=Unix newline
Char.set ASCII
Data format=text
At most I was able to get all the record in one line i guess because DS could not detect what's the end of the line...
Thank you in advance for your time and sincere efforts.
I've tried whole bunch of settings and may be missing something that I cant figure out. Please share your knowledge with this fellow.
Mainframe File is pipe delimited, has Mainframe LRECL=86, and every record ends with pipe.
Tried settings:
---------------
FTP stage:
Record level>>Record Type=varying
Record level>>Record Type>>Format VB
Field defalults:
Tried both:
Delimiter: none
Delimiter: |
Type defaults
General>> Character set=EBCDIC
General>>Data format=binary
Reading file as a Char and have tried both no Length or with 82 length.
Text File which saves the input has following settnigs:
Writing file as Char and have tried with 82 length and without.
Final Del=end
Rec Del=Unix newline
Char.set ASCII
Data format=text
At most I was able to get all the record in one line i guess because DS could not detect what's the end of the line...
Thank you in advance for your time and sincere efforts.