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: 8002
Location: Bellevue, IA

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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Are there any Freeware utilties for i... johnmull IBM Tools 2 Wed Dec 21, 2016 8:29 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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