|
Answer» Hi Team,
I am converting JCL to Windows Batch Script (DOS prompt). Can you please let me know how to proceed for it. Also, I would like to know the Windows Batch Script (DOS) equivalent command for:
1. SORT 2. IEBCOPY 3. IEBGENER 4. IDCAMS 5. IEFBR14 6. IKJFT01 7. Passing the PARM parameters 8. Symbolic parameters etc...
If some one has done it earlier then can you please give the sample JCL to Windows Batch Script.
Thanks in advance for your kind help.I have been working on a Mainframe for 13 years and hav ebeen writing batch files for about the same amount of time and what you are asking would be a very extreme challenge if not impossible. Some of the those programs I don't even recognize so it is probably specific to your system.Hi Squashman,
The programs which I have asked are very common in Mainframe JCL. Quote IEBCOPY is a data set utility that is used to copy or merge members between one or more partitioned data sets, or partitioned data sets extended (PDSEs), in FULL or in part.
More specifically, this utility is commonly used for several purposes:
To copy selected (or all) members from one partitioned data set to ANOTHER. To copy a partitioned data set into a unique sequential format known as an unloaded partitioned data set. As a sequential data set it can be WRITTEN on tape, sent by FTP, or manipulated as a simple sequential data set. To read an unloaded partitioned data set (which is a sequential file) and recreate the original partitioned data set. Optionally, only selected members might be used. To compress partitioned data sets (in place) to recover lost space.
Just one example: Programming is not Lego. You can't just find equivalents at the "command" level. A PC is not a mainframe, and the notion of a "partitioned data set" is not something that PC PROGRAMMERS are likely to be familiar with. Hi Salmon,
What you said is very true...as it is difficult to find out the euivalent command for these on windows DOS. But what I need is the work around of these utilities on windows command prompt.
Thanks.
|