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 |
Can 88 level variable be declared in FD section..?
How do get the result of your program directly on your pc?
What is Control Break processing ?
Why did you choose to work with ibm mainframe cobol programming?
What are the different data types available in COBOL?
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
i Want All cobol ERROR codes?
I want ALL jcl ERROR cods
What does the IS NUMERIC clause establish ?
What is the difference between copy and include in cobol?
diffrence between z(2) and z9(2)