COBOL EVALUATE TRUE
The following COBOL program depicts the use of 01 WS-SUB PIC 9 VALUE ZEROS. DISPLAY ‘WS-SUB IS GREATER THAN 4’ DISPLAY ‘WS-SUB IS GREATER THAN 5’ DISPLAY […]
COBOL EVALUATE TRUE Read More »
The following COBOL program depicts the use of 01 WS-SUB PIC 9 VALUE ZEROS. DISPLAY ‘WS-SUB IS GREATER THAN 4’ DISPLAY ‘WS-SUB IS GREATER THAN 5’ DISPLAY […]
COBOL EVALUATE TRUE Read More »
Example of ACCEPT and DISPLAY PROGRAM IDENTIFICATION DIVISION. PROGRAM-ID. PGM001. AUTHOR. MAINFRAMEWIZARD. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(3) VALUE ZEROES. PROCEDURE DIVISION. 10000-MAIN-PARA. ACCEPT VAR1. DISPLAY ‘VARIABLE INPUT IS=’ VAR1. STOP RUN.
COBOL Example ACCEPT AND DISPLAY Read More »
USING SUPERCE TO COMPARE TWO DATASETS (IN BATCH) The following JCL can be used to compare two datasets using the SUPERCE batch utility. //SUPERCE JOB (XXXXXXXX,,,,,XXXX),’ ‘, //SUPERC EXEC PGM=ISRSUPC,
SUPERCE in Batch To Compare Datasets Read More »
COBOL INTERVIEW QUESTIONS A data name must at least be 8 digits in COBOL A) True B) False A sentence in COBOL consists of one or more than statements terminated by a period? A) True B) False A level 77 can start in any of AREA A or AREA B? A) True B) False RENAME
COBOL Interview Questions Read More »
JCL Interview Questions · What is the difference between primary and secondary allocations for a dataset? Ans:-Secondary allocation is used when more space is required than what has already been allocated by primary. · How to access a file that had a disposition of KEEP? Ans:-Since the file is not in catalog you will need
JCL interview questions Read More »
The following COBOL program depicts the use of 01 WS-SUB PIC 9 VALUE ZEROS. PERFORM 20000-FIRST-PARA 5 TIMES DISPLAY ‘PARA NAME IS 10000-FIRST-PARA’ DISPLAY ‘VALUE OF WS-SUB IS = ‘ WS-SUB. The ouput
COBOL PERFORM TIMES Read More »
What is a package? A package is a single, bound DBRM which contains optimized access paths to DB2. Packages are the ouput of “Bind Package” command which takes DBRM as input. There can be one DBRM per package. Once the package is formed using the DBRM it can be fed to the “Bind Plan” command
What is a db2 package? Read More »
How to find who is using your dataset? If you get an error while editing a dataset that the dataset is currently in use and you wish to know who is using your dataset then press F1 key twice to know who is using your dataset
How to find who is using your dataset Read More »
HSM Commonly used commands S No. Command USE OF COMMAND 1 HMIGRATE Write HMIGRATE next to dataset name Example:- TSO HMIGRATE ‘USERID.ABC.XYZ’ 2 HBACKDS Write HBACKDS next to dataset name Example:-TSO HBACKDS ‘USERID.ABC.XYZ’ 3 HRECALL Write HRECALL next to
HSM Commonly Used Commands Read More »
What is the purpose of using SYNC in COBOL? Can someone explain the purpose of using SYNC in COBOL? Thanks #2 SYNC is used for faster computations… it creates slack bytes(unused space)….. Ex: 01 ws-var s9(04) comp it starts from 3rd byte. 01 ws-var s9(04) comp sync it starts from 4th byte… Thanks&Regrads, vijay #3
What is the purpose of using SYNC in COBOL? Read More »