How to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.
Answer / guest1
1) Compile your cobol program and keep in the LOAD LIB.
2) Your CICS program's PROCEDURE DIVISION should be coded as
PROCEDURE DIVISION USING DFHEIBLK, DFHCOMMAREA, <your
variable>
3) Define your variable in Linkage section
4) Call the sub program in your CICS coce.
5) Compile the COBOL + CICS coding(Ensure that the cobol
LIB is added).
6) Give CEMT Command in CICS Region and type your
transaction it.
| Is This Answer Correct ? | 2 Yes | 0 No |
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
how to transfer the file from pc to mainframe??
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
What are VS COBOL 11 special features?
Write down the divisions of cobol program?
What is "Call by content" and "call by reference"?
hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
what is subscript in cobol?give realtime example?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS