Questions tagged [jcl]

Job Control Language (JCL) is a scripting language used on the IBM mainframe operating systems z/OS and z/VSE (and predecessors) to instruct the system on how to run a batch job or start a subsystem. In z/VSE, it is sometimes referred to as JCS (Job Control Statements). In z/OS, Job Entry Control Language (JECL) controls how JES2 or JES3 handles the job execution and output.

In JCL, the unit of work is the job. A job consists of one or several steps, each of which is a request to run one specific program. For example, a job to produce a printed report for management might consist of the following steps:

  • A user-written program to select the appropriate records and copy them to a temporary file.

  • Sort the temporary file into the required order, usually using a general-purpose sort utility

  • A user-written program to present the information in a way that is easy for the end-users to read and includes other useful information such as sub-totals

  • A user-written program to format selected pages of the end-user information for display on a monitor or terminal.
457 questions
-2
votes
1 answer

MOVE is invalid - COBOL

I am trying to get this move statement in 01-WS-PRINT REC to work but for some reason when i compile it says "MOVE" was invalid. Scanning was resumed at next....Thoughts? 01 WS-PRINT-REC 10 M-DESC PIC X(25). 10 FILLER PIC X(02). 10…
Rob
  • 57
  • 9
-2
votes
1 answer

Temperature converter doesn't return correct value

IDENTIFICATION DIVISION. PROGRAM-ID. TEMP1 . ENVIRONMENT DIVISION. DATA DIVISION. …
VIBHAV PANDEY
  • 65
  • 2
  • 9
-3
votes
1 answer

In how many ways we can create a PS file in Mainframes?

How many ways we can create A PS file using jcl.strong text
-3
votes
1 answer

JCL/REXX - Members in a PDS

How can I create a member in a PDS using either JCL or REXX? The member's name must contain the actual date. Is that possible?
-3
votes
2 answers

SQLite through Mainframe

We have a batch Mainframe JCL and SQLite file in windows Share Path We need the data in windows share path periodically updated based on a mainframe computation. So We need to create records in the SQLite database based on Mainframe JCL/Cobol…
-6
votes
1 answer

How do i clear this issue? unable to compile?

got this error 11.43.36 JOB05184 $HASP165 IBMUSERX ENDED AT N1 MAXCC=12 CN(INTERNAL) IEW2735S DA0F OUTPUT DATA SET FOR DDNAME SYSLMOD HAS INVALID RECORD FORMAT. R IEW2008I 0F03 PROCESSING COMPLETED. RETURN CODE = 12. THIS IS MY CODE TO…
1 2 3
30
31