JCL override with examples

JCL override with examples JCL/PROC override is useful when a proc parameters, data sets needs to be modified while executing it. Adding parameters, Nullifying the existing parameters or Overriding the parameters of a PROC are the common overrides that can be done via a JOB. Overriding a DSN: PROC has an input data set and

COBOL DISPLAY Statement

COBOL DISPLAY Statement is used to Display the data on Output device. This is a procedure division statement and very useful to get the required data on output device. Syntax: [crayon-5da692baae0e9760014143/] Identifier is any declared variable of the program. Literal is any text string or figurative constants like ZEROES, SPACES, QUOTES, HIGH-VALUES, LOW-VALUES. Example  for Identifier 

Populating Current USERID in CICS map field

Populating Current USERID in CICS (COBOL) map filed is the most common requirement for the Update-able Maps. Along with USERID, getting Current date-time are also can be retrieved using the CICS supplied commands. These can be coded in COBOL program under EXEC … & END-EXEC just like any other commands. ASSIGN USERID – ASSIGN command

CTS Mainframe Interview Questions

These Questions have been asked in Cognizant(CTS) for Mainframes Technical round of Interview. CICS & VSAM–> What is the MAX size of COMMAREA? What happens if we try to send the data with size more than 32k? While passing data between two programs(PGMA TO PGMB) using COMMAREA. If in PGMA The commarea size is 30

Scrollable Cursors In DB2 Mainframes

Scrollable cursors are introduced to overcome the limitation of reading the result table in sequential order.In Normal cursors, the cursor places at the first row of the result set when OPEN cursor statement is executed. And for each Fetch, the cursor gets moved by 1 row forward in the result table and this is the

Handling Null Values in COBOL DB2

Handling Null Values in COBOL DB2 program is an important aspect without which program may get into erroneous status. Null is nothing but no value has been populated or Value is missing for that DB2 table column.In other words, few columns gets populated only based on certain criteria, if it meets that criteria then it

Multi Dimensional Arrays in COBOL

Multi dimensional arrays in COBOL are supported and it is possible to have up to 7 dimensions which is its MAX limit. But more than two dimension array creates confusion.So in general two dimensional arrays and Single dimensional arrays are used mostly. Let us see how to declare and process multi dimensional arrays in COBOL.

Rimini Street COBOL Interview Questions

At Rimini street, they use micro focus COBOL that are used in Peoplesoft modules. So their main focus would be on COBOL. Knowing people-soft and SQLSERVER is an added advantage. What are the mandatory Divisions? Name different Divisions ? What are the different picture clauses? Difference between Comp and Comp-3 How to declare arrays? What

SORT card to add header and trailer with date & Counts

This SORT example is to add Header and Trailer to the sorted file along with the total number of records. Header –> A Name along with the current System date Trailer–> A static message along with number of input records count Example Sort Card: [crayon-5da692baaf63b064511126/] Header1 –> It has a Static message which start from

JCL to reverse the file records

JCL Trick to write the output file in reverse order of input using SORT. If the input file has some records in Random order ( not in sorted order) and if the out file needs to be written exactly in reverse order. This can be achieved by using the SORT Overlay along with OUTREC BUild.
Bitnami