Giter Site home page Giter Site logo

create-cobol-listing's Introduction

Create-COBOL-listing

Create a compiler listing with IGYCRCTL

write a JCL that would create a compiler listing with IGYCRCTL

Here is an example of a JCL script that could be used to create a compiler listing with IGYCRCTL:

//JOBNAME JOB (ACCT),'MY JOB', // MSGCLASS=H, // NOTIFY=&SYSUID //* //IGYCRCTL EXEC PGM=IGYCRCTL, // PARM='CSECT=MYPROGRAM, // COPY=MYCOPYBOOKS, // INFILE=MYINPUT.DAT, // OUTFILE=MYOUTPUT.DAT, // DBG=YES, // LIST' //* //MYPROGRAM EXEC PGM=MYPROGRAM //* //MYINPUT DD DSN=MYINPUT.DAT, // DISP=SHR //MYOUTPUT DD DSN=MYOUTPUT.DAT, // DISP=(NEW,CATLG), // SPACE=(TRK,(1,1)), // DCB=(RECFM=FB,LRECL=80) //* //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSIN DD DUMMY

This JCL script specifies a batch job named JOBNAME that will be run under the ACCT account and will include the message MY JOB in the job log. It then defines several "steps" that will be executed as part of the job.

The first step, IGYCRCTL, specifies that the COBOL compiler program (PGM) named IGYCRCTL should be run with the specified parameters and options. In this case, the PARM option is used to pass the necessary options to the IGYCRCTL control card, including the name of the CSECT (MYPROGRAM), the location of the copybooks (COPY=MYCOPYBOOKS), the input and output files (INFILE and OUTFILE), debugging options (DBG=YES), and the LIST option to generate a compiler listing.

The second step, MYPROGRAM, specifies that the compiled COBOL program named MYPROGRAM should be run. This step assumes that the program has already been compiled using the IGYCRCTL step.

The remaining steps in the JCL script define the input and output files that will be used by the COBOL program. The MYINPUT and MYOUTPUT steps specify the names and locations of the input and output files, respectively, as well as their access modes and other details. The SYSPRINT, SYSUDUMP, and SYSIN steps are standard JCL steps that are used for various purposes, such as printing messages and handling errors.

create-cobol-listing's People

Contributors

jimmc414 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.