-
Notifications
You must be signed in to change notification settings - Fork 28
SDSF commands
Description | Command |
---|---|
Show all the jobs | PRE * |
Show all the jobs with a JOBNAME starting with JOB_NAME | PRE JOB_NAME* |
Show all the jobs by starting with JOB and ending with NAME | PRE JOB%%NAME |
Filter data by owning user ID | OWNER userid% |
Locate a line or column | LOCATE COLUMN_NAME |
Find a string A | FIND A |
View a SDSF user/Owner | WHO |
Show abended jobs | FILTER MAX AB* |
Show all jobs that ended with JCL error | FILTER MAX ‘JCL ERROR’ |
Show jobs with exceptional conditions | FILTER MAX NE ‘RC 0000’ |
Show successfully completed jobs | FILTER MAX EQ ‘RC 0000’ |
Cancel all filters and show all jobs | FILTER OFF |
Issue a line command ‘XDC‘ against the Job you want to copy in a dataset. You need to give the name of the dataset where you want to store the information. Suppose, you do not want to capture the entire spool output of the JCL but wish to only store the information of JESYSMSG or JESJCL or JESMSGLG, then you can just give ‘XDC’ in front of JESYSMSG or JESJCL or JESMSGLG respectively.
Description | Command |
---|---|
Prints to a data set and closes the print file when the printing is done. Write this command on the left of JOBNAME | XDC |
Prints the output that you are browsing. This command entered from within browse | PRINT |
Description | Command |
---|---|
Keep the cursor on the row you are working with | SET CURSOR ON |
Return cursor to thecommand line | SET CURSOR TOP |
Scroll the log to the bottom every 15 seconds | BOT &15 |
In order to check the jobs present in the Input queue, you need to give option ‘I’ in the command input
Description | Command |
---|---|
Check for all the jobs with the class A and C in Input Queue which are on hold | IAC H |
Check for all the jobs with the class A in Input Queue which are not on hold in | IA NH |
Issue a line command ‘SJ‘ against the job you wish to run. You can edit the JCL here and submit it. Please note that editing of JCL here does not save the changes in the member where your JCL is present so you cannot physically SAVE the changes but only logical editing can be done.
Description | Command |
---|---|
Run a JCL directly from SPOOL area | SJ |
SMP/E
- How do I check if the APAR or the PTF installation?
- JCL job to create SMP/e zones environment and user datasets
- JCL job to customize SMP/e distribution zone environment
- JCL job to customize SMP/e global zone environment
- JCL job to customize SMP/e target zone environment
- JCL job to load PTF information into global zone and SMP/e datasets
- JCL job to install PTF in the SMP/e target libraries
- JCL job to install PTF in the SMP/e distribution libraries
- JCL job for rejecting PTF to clean up the global zone
- JCL job for restoring PTF to clean up the target zone
- Automated build PTF via JCL + REXX template (IN PROGRESS)
- What should I do if RECEIVE ends with RC=12?
Mainframe automation solutions and best practices
- Mainframe DevOps tutorial – How We Bring DevOps and Automation to Mainframe
- Jenkins MF pipeline code example
- Mainframe integration with Jenkins using USS agent
- Jenkins plug in solution for running JCL jobs
- Mainframe troubleshooting platform - APPULSE
- Azure DevOps with MF (IN PROGRESS)
- Zigi
z/OS DevOps scripts
- Shell script for datasets to transfer from UNIX to the mainframe via ftp
- Shell script to run JCL jobs on the mainframe via ftp
- Shell script to transfer changed sources in git to the mainframe via ftp
RACF
REXX scripts
- REXX script to change parameters values in a config file
- REXX script to replace substring in some members of dataset
ISPF
HSM
- HSM dataset level commands
- HSM system commands
- How do I restore datasets anywhere where HSM is working?
Useful tricks
- How to include a library in the current LOGON session
- How to make IBM Java work for TEP file tep.jnlp
- How to migrate one or more data sets to migration volumes
- How to transfer file from Windows to zOS with command line ftp?
- How do I find out which data sets have used the most amount of space?
- How do I convert a hexadecimal date to a readable date on z/OS?
- How do I compare two data sets interactively?
- How do I use 3270 emulators with a larger screen size?
- How do I make some changes in each member of PDS?
- How do I copy data sets to other LPAR?
Batch jobs (JCLs)
- How to automate checking for normal completion of a job (counting the number of lines)?
- How do I create a Data Set or a Data Set member?
- How do I copy a Data Set or a Data Set member?
- How do I fill VSAM with records?
- How do I rename a Data Set in batch?
- How do I delete a Data Set or a Data Set member?
- How do I compress a Partitioned Data Set?
- How do I convert Partitioned Data Set PDS to Partitioned Data Set Extended PDSE and vice versa?
- How do I split a Sequential Data Set or PDS member?
- How do I copy first n records of Sequential Data Set or PDS member?
- How do I work with a Catalog?
- Replacing archaic JCL constructs
- Sample solution to transfer datasets from one system to another using XMIT and ADRDSSU
- JCL job template for evenly dividing the dataset into parts
- How to work with a Catalog?
z/OS System operating
- z/OS network commands
- JES commands
- SDSF commands
- XMIT
- WLM (COMING SOON, STAY TUNED)
- IPL and its maintenance
- Omegamon for Storage
- Omegamon for DB2
z/OS Subsystem operating