Skip to content

Example Cmds

Trae Yelovich edited this page Jan 27, 2025 · 9 revisions
Action Layer Command
Read data sets ioserver { "command": "readDataset", "dataset": "USER.PS" }
zowex ./zowex data-set view "USER.PS"
Read data sets w/ encoding ioserver { "command": "readDataset", "dataset": "USER.PS", "encoding": "ISO8859-1" }
zowex ./zowex data-set view "USER.PS" --encoding "ISO8859-1"
Read UNIX file ioserver { "command": "readFile", "path": "/u/users/user/aDirectory/file.txt" }
zowex ./zowex uss view "/u/users/user/aDirectory/file.txt"
Read UNIX file w/ encoding ioserver { "command": "readFile", "path": "/u/users/user/aDirectory/file.txt", "encoding": "ISO8859-1" }
zowex ./zowex uss view "/u/users/user/aDirectory/file.txt" --encoding "ISO8859-1"
Write data sets ioserver { "command": "writeDataset", "dataset": "USER.PS", "contents": "aGVsbG8gd29ybGQ=" }
zowex ./zowex data-set write dsn "USER.PS" <<< "hello world"
Write data sets w/ encoding ioserver Not yet implemented
zowex Not yet implemented
List data sets ioserver { "command": "listDatasets", "pattern": "USER.*" }
zowex ./zowex data-set list "USER.*"
List data set members ioserver { "command": "listDsMembers", "pattern": "USER.PDS" }
zowex ./zowex data-set list-members "USER.PDS"
List USS files ioserver { "command": "listFiles", "fspath": "/u/users/self" }
zowex Not yet implemented
List jobs ioserver { "command": "listJobs" }
zowex ./zowex job list
List jobs by owner ioserver { "command": "listJobs", "owner": "USER" }
zowex ./zowex job list --owner USER
List spool files for job ioserver { "command": "listSpools", "owner": "USER", "jobId": "JOB01234" }
zowex ./zowex job list-files JOB01234
Clone this wiki locally