Your browser does not allow this site to store cookies and other data. Some functionality on this site may not work without them. See Privacy Policy for details on how we would use cookies.


Listing Jobs

To display the status of all the jobs that are on the JES spool for your user ID, enter the following command:

sftp> ls /ftadv:filetype=JES/

To list jobs in the long name format, enter:

sftp> ls -l /ftadv:filetype=JES/

To list the contents of a specific job (in this example JOB03419) in the long name format:

sftp> ls -l /ftadv:filetype=JES/JOB03419/ 1
Volume Referred    Recfm Lrecl BlkSz Dsorg    Space  Dsname
JOB03419 USER1   USERJ0   A        J      0000
  0002          JES2     JESMSGLG    18       1048 UA       133
  0003          JES2     JESJCL       6        299 V        136
  0004          JES2     JESYSMSG     9        559 VA       137

Note the required trailing slash after the job ID.