how do u link sub pgm to main pgm ?

Answer Posted / muttaiah

By Call stmt and compiler option dynam or nodynam.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) what is the difference between AID and HANDLE AID?

1624


How arrays can be defined in COBOL?

653


What are different data types in cobol?

675


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

685


How to remove 2 duplicate records and copy only one using job control language?

724






What is the usage of comp fields in cobol?

645


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

402


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 ......

10525


Which division and paragraphs are mandatory for a COBOL program?

701


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1794


What is the Purpose of POINTER Phrase in STRING command in COBOL?

707


How do you differentiate between cobol and cobol-ii?

643


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.

5043


Can we change the password using ALTER? anyone tried and changed?

1533


Name the sections present in data division.

691