Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> All Other Mainframe Topics
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    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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts WER247A incompatible lrecl Danielle.Filteau SYNCSORT 8 Tue May 02, 2017 4:04 am
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts Connect:Direct - RC=000000FF MSG=SVTM... R.Manivannan All Other Mainframe Topics 3 Fri Apr 21, 2017 1:30 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us