Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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  set  _echo=yes
2  set  _halton=warn
3  open  unix=sol9 user=top098 pwd=p100m
4  filesys  local=dd
5  cd  unix=/opt/app/data
6  mode  type=text trim=yes
7  copy  local=apout unix=data10.txt
8  quit  /*

DSN File System

set
set
open
cd
mode
copy
quit

Components

Universal Data Mover Manager for z/OS

  • No labels