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

Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2062


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


Can a Search can be done on a table with or without Index?

807


What is link edit in cobol?

776


What are the different rules for performing sort operation?

766






Write a program that uses move corresponding.

676


how do you define single dimensional array and multidimensional array in your cobol?

683


what happens if parmparameter passes zero bytes to the program

1669


Mention the guidelines to write a structured cobol program?

622


What is the Purpose of Pointer in the string?

645


Which division and paragraphs are mandatory for a COBOL program?

712


What are various search techniques in cobol? Explain.

650


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10643


Explain the configuration section of a cobol program with examples of syntax.

661


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661