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.
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.