I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5.
Sub program is passing 5 parameters back to main program
Will there be any compilation error? Or main program parameters displays junk values?
No Answer is Posted For this Question
Be the First to Post Answer
i want to store 20 digits . h will u do it in cobol ?
What are differences between Static Call and Dynamic Call?
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
how do u link sub pgm to main pgm ?
How to increase the logical record length of existing PS file?
what is srange and nosrange pls reply to ths question ?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
where do we use dyanamic call ? and where do we use static call pls give any example pls ?