how do u link sub pgm to main pgm ?
Answers were Sorted based on User's Feedback
Answer / ankit
linking of pgm is done by 'call statements ' linking of pgm
is done by o/s we need to just use call statements in cobol
pgm, we cannot explicitly link pgms
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / muttaiah
By Call stmt and compiler option dynam or nodynam.
| Is This Answer Correct ? | 1 Yes | 0 No |
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
How can you add a particular field/coloumn in copybook?
What is the default value of DISP parameter?
How do you come out of an EVALUATE statement?
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.
how will u code parm parameter and where pls ?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
How is sign stored in a comp-3 field?
what is difference between cobol and cobol/400
A s9(4). B v9(4) value 0.21 can i move this?
What are various search techniques in cobol? Explain.
what is the use of comp2 ? where can we use it with example ?