Is it possible to execute JCL steps randomly (of our own choice) by using the IEBEDIT utility? I heard coding DPRTY in the step will serve this purpose. I think DPRTY coded on the step level is just ignored.
I am not sure what you want to accomplish with randomizing mainframe JCL steps, but the answer is no.
The only way to execute Job Control Language steps in this way would be to wrap another mainframe programing language such as SAS, REXX or COBOL around the JCL. You would then submit the JCL to the internal reader INTRDR for processing.
DPRTY is a very old JCL keyword for dispatch priority. DPRTY was basically ignored depending on the settings in the Installation Control Specification (ICS) used on the operating system.
The ICS was used prior to WLM Goal Mode, which took over as the only option for mainframes with z/OS 1.3 and above. However, even before OS/390, the DPRTY JCL keyword was ignored.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Mark Zelden
When initial program load stalls out on a mainframe logical partition, the culprit is often consoles. Connectivity is one of many potential causes. Continue Reading
Programming expert Mark Zelden offers some coding help to a user trying to FTP files from the mainframe to a Linux OS. Continue Reading
Expert Mark Zelden shares how to ensure batch ftp defaults are the same in test and production environments. Continue Reading