Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Connect Direct from Mainframes to Unix -LRECL change needed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
pssunilkumar455

New User


Joined: 26 Oct 2009
Posts: 2
Location: Hyderabad

PostPosted: Tue Oct 27, 2009 12:01 pm    Post subject: Connect Direct from Mainframes to Unix -LRECL change needed
Reply with quote

Hi ,
I have a requirement wherein i would be sending a PS file from Mainframes to Unix server. While i have no problems in sending the file, the requirement is as follows:

Currently, the Record length of the file we are sending from Mainframes is 1000 bytes. I want this file to be copied on the Unix server as a 1500 byte file.

I can copy the 1000 byte file to 1500 byte file on the Mainframes itself, before sending it to Unix, i want to know if there is any parameter which we can use in the "TO" parameter of the Job that can change the Record length on the Destination Server ( Unix server ) ? Please do remember that the Destination server is a Unix server.
Back to top
View user's profile Send private message
References
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 3820
Location: Atlanta, GA

PostPosted: Tue Oct 27, 2009 3:47 pm    Post subject:
Reply with quote

Unix text files do not have the concept of record length per se. A record goes from byte 1 until the EOL (end-of-line) character is found, at which time a new record is started. So if you need 1500 byte records on the Unix side, you can either change the record length on the mainframe side and send the long record, or write a program on the Unix side to change the records.
Back to top
View user's profile Send private message
pssunilkumar455

New User


Joined: 26 Oct 2009
Posts: 2
Location: Hyderabad

PostPosted: Tue Oct 27, 2009 6:07 pm    Post subject:
Reply with quote

Hey Thanks Robert !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1