...
Panel |
---|
//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 7 copy unix=data10.txt local=APOUT 8 quit /* |
Anchor | ||||
---|---|---|---|---|
|
...
Panel |
---|
//S1 EXEC UDMPRC //UNVSCR DD * 1 set _echo=yes 2 set _halton=warn 3 open unix=sol9 user=top098 pwd=p100m 4 cd unix=/opt/app/data 5 mode type=text 6 attrib local createop=replace 7 copy unix=data10.txt local='app.data.daily' 8 quit /* |
Anchor | ||||
---|---|---|---|---|
|
- Removal of the filesys command (line 4 in the DD file system example), since the default file system for the z/OS manager is DSN.
- Addition of line 6, which sets the local attribute createop. createop controls how a file is created. By default, its value is new, indicating that only new files are created and existing files are not written over (replaced). In this example, the value is being set to replace, which specifies that if the file exists, it should be replaced; otherwise, it is created.
...