Copy a zOS Sequential Data Set to a File
Copy a zOS Sequential Data Set to a File
Copy a z/OS Sequential Data Set to a File
These examples copy, in text mode, a sequential data set on z/OS to a remote UNIX system.
Note
A text transfer, by default, does not trim spaces from the end of a record. If the data set being copied is a fixed record format, each record is padded with spaces so that the record length equals the logical record length of the data set. If you do not want the trailing spaces copied, they must be trimmed. Variable record formats do not normally have trailing spaces, so trimming normally is not required.
DD File System
//S1 EXEC UDMPRC //APOUT DD DSN=APP.DATA.DAILY,DISP=SHR //UNVSCR DD * 1 /wiki/spaces/UA73/pages/3769053 _echo=yes 2 /wiki/spaces/UA73/pages/3769053 _halton=warn 3 /wiki/spaces/UA73/pages/3769059 unix=sol9 user=top098 pwd=p100m 4 /wiki/spaces/UA73/pages/3778434 local=dd 5 /wiki/spaces/UA73/pages/3778454 unix=/opt/app/data 6 /wiki/spaces/UA73/pages/3778428 type=text trim=yes 7 /wiki/spaces/UA73/pages/3778455 local=apout unix=data10.txt 8 quit /*
DSN File System
//S1 EXEC UDMPRC //UNVSCR DD * 1 /wiki/spaces/UA73/pages/3769053 _echo=yes 2 /wiki/spaces/UA73/pages/3769053 _halton=warn 3 /wiki/spaces/UA73/pages/3769059 unix=sol9 user=top098 pwd=p100m 4 /wiki/spaces/UA73/pages/3778454 unix=/opt/app/data 5 /wiki/spaces/UA73/pages/3778428 type=text trim=yes 6 /wiki/spaces/UA73/pages/3778455 local='app.data.daily' unix=data10.txt 7 quit /*
Components
, multiple selections available,