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 |
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
How do u know what version of cobol u are using?
How can you get the ksds file records into your cobol program?
what are the working storage fields in BMS macro?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
Why would you use find and get rather than to obtain?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
i need a small 3d program using inline and outline.
Describe the difference between subscripting and indexing ?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do get the result of your program directly on your pc?