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

How do get the result of your program directly on your pc?

1878


Can you please let me know the centre name of INS certification in Kolkata.

1713


Can we redefine the field of x(200) to less than 200?

814


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


what is difference between cobol and cobol/400

21556






In COBOL programming, what is PERFORM? What is VARYING?

668


what is search and searchall?what is the diffrence between them?give an best example?

5539


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1646


Write a cobol program making use of the redefine clause.

725


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

710


What is length is cobol?

641


How do you reference the following file formats from cobol programs?

693


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

2718


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5051


What are the cobol coding sheets?

657