Your browser does not allow storing cookies. We recommend enabling them.

SSH

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
/FTADV:filetype=JES//u/home/user1/JOB03419/:
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
1

Note the required trailing slash after the job ID.


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now