Hello.
I am trying to send a PDS member from one LPAR to a directory in Unix System Services in another LPAR. When the file arrives in the destination directory there are no line breaks. The file is one long line. I've tried various combinations of linerule and lrecl but I can't get the file format properly. I'm certain I have set this up incorrectly. Any help would be greatly appreciated.
pwdsn="SYS2.USS.CNTL(COZPSWD)" # Password
user=ZOND2TMX # Userid
host=SYSJ.LIFECO.COM # Connect to SYSJ
lzopts="mode=text,clientcp=ISO8859-1,linerule=flexible"
lfile=//"ZOND2TMX.CLIST(RELDATEX)" # Send this file to SYSJ
rfile=/u/zondttmx/bin/scripts/reldate.rexx # Destination
. $script_dir/sftp_connect.sh <<EOB
lzopts $lzopts
put $lfile $rfile
EOB
PDS member to Unix System Services
Re: PDS member to Unix System Services
Your options indicate that your source (client) data (in the PDS member) is in codepage ISO8859-1. Are you sure this is correct?
What source and destination codepages are you trying to specify?
What source and destination codepages are you trying to specify?
Re: PDS member to Unix System Services
The code page is IBM-037. My mistake. Don't mind me; I'm an idiot.