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
-1
votes
1 answer

SORT to replace a column in JCL

Do you know a command to sort a file to replace a column with the same value in all the rows? For example, I want to generate a new file with the same order as the original, except at the column 66 to 68, I want to put XX in all the rows. Note: the…
Nico
  • 309
  • 1
  • 3
  • 18
-1
votes
1 answer

IMS init empty DB

i've got a problem, that i can't resolve. I want to try to work with IMS. so i make dbdlib, psblib, and now write jcl to init my db. 1://RELOAD EXEC PGM=DFSRRC00,PARM='ULU,DFSURGL0,LIBDBD,,,,,,,,,,,N' 2://STEPLIB DD…
-1
votes
1 answer

z/VSE sample jcl to print sequential file to spool

I am trying to print the contents of a ca-datacom sequential file by using IDCAMS/REPRO, but was getting the below error. IDC3300I ERROR OPENING TEST001 IDC3318I ** INVALID DATA SET SPECIFICATION IDC0005I NUMBER OF RECORDS PROCESSED…
Nag
  • 1
  • 1
-1
votes
1 answer

What is system completion code 806 abend while running JCL?

While running the JCl am getting abend code 806 like completion code system =806 so please help me to solve it. Thank you.
Indrajit
  • 11
  • 1
  • 1
-1
votes
3 answers

I keep getting an error with the JCL code and I don't know why

//BJCL1804 JOB 1,NOTIFY=&SYSUID //SORT01 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SORTIN DD DISP,SHR,DSN=ZOS.PUBLIC.DATA(ASCII) //SORTOUT DD SYSOUT=* //SYSIN DD SYSIN=* //SORT DD =(1,1,CH,A) I am trying to…
user3863436
-1
votes
1 answer

How do I copy the newest member of a pds with jcl?

I have a problem which is I need to copy the latest member created in a PDS but as dar as I know the only option I have is to select the member name to copy. That PDS is updated daily with a FTP JCL, I cannot change, and so what I though of doing…
csbl
  • 265
  • 1
  • 6
  • 19
-1
votes
1 answer

Getting wrong Count of the Combinations Between Two Fields of a File thru OUTFIL

i need to include this condition: 1) Total no.of records per combination of field1 and field3 (INCLUDE=(1,2,8,3,CH,A) INPUT FILE: FIELD1 AND FIELD3 have 5 combinations,if you see in example below field1 field2 field3 field4 AA 00000 123 …
Agent Mahone
  • 307
  • 3
  • 15
  • 26
-1
votes
3 answers

XML handling in REXX or JCL

In a PS file I have XML data as below: For ex: (
learner
  • 41
  • 6
-1
votes
2 answers

JCL for previous month-year in dataset name

I need to run a job on the first work day of the month with accounting data for the month-end close(previous month) to be used in some year end jobs. I would like to run the same job each month, with no operator intervention and have the closing…
user1810530
  • 1
  • 1
  • 1
-2
votes
4 answers

What command can I use in a JCL + NDM script to make the transmissions wait?

Working on a z/OS system, and I'm not part of the programming team, but I know some programming stuff. We have a tool that we're working with that can output JCL + NDM to send files from the company to the client. I can manually add and review the…
YetAnotherRandomUser
  • 1,320
  • 3
  • 13
  • 31
-2
votes
1 answer

Rexx code to change word in jcl and submit

Rexx code to change word in jcl and submit. There is a JCL code. Requirement is to run the job after doing "C ALL JOB1 JOB2".
deepaklearner
  • 151
  • 1
  • 6
  • 22
-2
votes
1 answer

Printing report on a VSAM file

I am making a payslip project using IBM mainframes and I am asked to create a payslip report for an employee every month. This payslip is supposed to be stored into a VSAM file in a format as follows as follows: The data can be fetched from DB2 via…
Sarthak Mehra
  • 359
  • 1
  • 2
  • 12
-2
votes
1 answer

What is the difference between? STEP1.SYSIN DD * //STEP1.SYSIN and STEP1.SYSIN DD &SYSUID..COBOL(CBL0001),DISP=SHR?

I would like to know what the difference between these two lines of code :- //STEP1.SYSIN DD * and //STEP1.SYSIN and STEP1.SYSIN DD &SYSUID..COBOL(CBL0001),DISP=SHR and if there are any differences.
-2
votes
1 answer

JCL SEVERE MESSAGES

I am getting these error messages when I try to compile my program: IEW2747S D90C ABEND 013-18 OCCURRED WHILE PROCESSING SEQUENTIAL DATA SET WITH DD IEW2230S 0414 MODULE HAS NO TEXT. IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE…
Adi
  • 63
  • 10
-2
votes
1 answer

HTML draw arrows behind text

Can html5 canvas do the following? If yes, how... Be places behind bottom layer place behind HTML text Can you accurately find the coordinates specified HTML texts (perhaps identified with span ID) regardless the of browser zoom size, or line…
Nathan
  • 412
  • 6
  • 16
1 2 3
30
31