IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Connect Direct from Mainframes to Unix -LRECL change needed


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pssunilkumar455

New User


Joined: 26 Oct 2009
Posts: 2
Location: Hyderabad

PostPosted: Tue Oct 27, 2009 12:01 pm
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
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 27, 2009 3:47 pm
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
Reply with quote

Hey Thanks Robert !!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Connect Direct 6.3 for Z/OS All Other Mainframe Topics 20
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
Search our Forums:

Back to Top