Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Converting JCL to Windows Batch Script (DOS)  (Read 4415 times)

0 Members and 1 Guest are viewing this topic.

yadavmanoj78

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Unknown
    Converting JCL to Windows Batch Script (DOS)
    « on: June 13, 2012, 02:46:28 AM »
    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.

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Converting JCL to Windows Batch Script (DOS)
    « Reply #1 on: June 13, 2012, 05:41:34 AM »
    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.

    yadavmanoj78

      Topic Starter


      Starter

      • Experience: Beginner
      • OS: Unknown
      Re: Converting JCL to Windows Batch Script (DOS)
      « Reply #2 on: June 13, 2012, 10:29:49 PM »
      Hi Squashman,

      The programs which I have asked are very common in Mainframe JCL.

      Salmon Trout

      • Guest
      Re: Converting JCL to Windows Batch Script (DOS)
      « Reply #3 on: June 14, 2012, 12:37:59 AM »
      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.

      yadavmanoj78

        Topic Starter


        Starter

        • Experience: Beginner
        • OS: Unknown
        Re: Converting JCL to Windows Batch Script (DOS)
        « Reply #4 on: June 14, 2012, 12:51:20 AM »
        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.