how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
Answers were Sorted based on User's Feedback
Answer / ankur
If the Program is having 'USING' clause with procedure
division then it will be Sub-program.
Eg - PROCEDURE DIVISION USING DFHCOMMAREA.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / guest
for mainprogram it ends with stoprun,subprogram ends with
exit
Is This Answer Correct ? | 5 Yes | 3 No |
how to code in cobol while using variable block file?
How to increase the logical record length of existing PS file?
Can anyone please give the example of Inline Perform.
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
db2 variable decimal(15,2) what is the equalent size of cobol variable
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
What rules are followed by the search verb.
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
What is the default value of DISP for temp datasets