For Programmers: Free Programming Magazines  


Home > Archive > Cobol > May 2007 > FTPing COMP-3 data from mainframe to UNIX









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author FTPing COMP-3 data from mainframe to UNIX
kimi

2007-05-24, 7:55 am

hi,

I am actually trying to ftp a PS file from mainframe to UNIX.

The contents of the PS file are data declared as S9(8) COMP-3 and
9(2).

When i ftp this file to UNIX in ASCII mode , i am able to read
the data declared as 9(2) as it
is but there is a erroneuos read as far as the COMP-3 data is
concerned.

When i ftp this file to UNIX in BINARY mode , i am able to read
the data declared as COMP-
3 as it is but there is a erroneuos read as far as the 9(2) data
is concerned.

The ftped data in UNIX is being read using a cobol program.
The cobol program is being compiled using the command "cob -iaPV
filename.cbl".
The cobol program is being run using the command "cobrun
filename.int".

The above commands are provided by microfocus.ie. the cobol
program is being executed
on a UNIX environment using MICRO FOCUS SERVER EXPRESS 4.0 SP2.

Pls let me know how i can read both the types of data
successfully.

Adsterterder3

2007-05-26, 5:54 pm

http://Katie-Holmes-touching-her-bo...p?movie=1673286
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com