View previous topic :: View next topic
|
Author |
Message |
venktv
New User
Joined: 29 Mar 2006 Posts: 59 Location: Montreal
|
|
|
|
I'm FTPing a file from mainframe to another server, the file contains Comp3 and comp data. If I FTP this file, will I get into any problems in while reading the data.
Venkatesh |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
venktv wrote: |
Hi All,
I am FTPing a file from mainframe to NT server, the file contains Comp3 and comp data, if I FTP this file, will I get into any problems in NT server while reading the data.
Please reply..
Thanks in advance
Venkatesh |
YES, FTP does a character by character translation of the data. You can only FTP character data or BINARY with no translation. COMP and COMP-3 should be formatted as characters with separate sign. |
|
Back to top |
|
|
venktv
New User
Joined: 29 Mar 2006 Posts: 59 Location: Montreal
|
|
|
|
Hi Craq.
Thanks very much for the reply, in my record layout I have these fields.
10 ARY-IP-CODE PIC S9(09) COMP.
10 ARY-MNL-CODE PIC S9(09) COMP.
10 ARY-SYSID PIC S9(17) COMP-3.
I am planning to create another layout with below variable types and move th values from above variables to the new variables and write it into file and FTP that file...
Could you please suggest me the PIC cluase for these varaibles.
Thanks and Regards
Venkatesh |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Declara equivalent PIC with AlphaNumeric or Numeric data item for the COMP and COMP-3. |
|
Back to top |
|
|
|