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
I want to write a COBOL program that will run in z/OS and create a sequential file that can then be FTP'd to a network drive and opened with MS-Word ... Continue Reading
Mainframes don't always operate as they should. In extreme circumstances, the FORCE command can help close down a stuck program. Continue Reading