Answer Posted / jack
Call Statement in cobol calls sub program from main program
by Content or by reference but default is by reference
eg.
CALL "sub-prog".
CALL "sub-prg" using var-1, var-2.
CALL program-name using var-1, var-2.
Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write the code implementing the perform … varying.
What are the pertinent COBOL commands?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Write a program to explain size error.
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?
What is static and dynamic call in cobol?
How do you get the data to code the BMS macro?
how to refer the data field?
Write the code to count the sum of n natural numbers.
What are the different types of condition in cobol and write their forms.
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.
What are the different open modes available in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there