how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(any) ?

686


how do you reference the variable unblock file formats from cobol programs

748


What is link edit in cobol?

772


What is the use of intialize verb?

748


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

896


What is comp-1 and comp-2?

764


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1872


What is inspect in cobol ?

801


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


Whats the difference between search & search ALL?

5264


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

718


What are the different rules to perform a Search?

617


What are all the divisions of a COBOL program?

663


What is the LINKAGE SECTION used in COBOL?

889