how the control comes back from subprogram to mainprogram
Answers were Sorted based on User's Feedback
what are the steps to sort in a cobol program?
How to read the last 100 records from a COBOL file. The file contains N number of records.
COMP field occupy ?
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........
What guidelines should be followed to write a structured Cobol program?
which is better comp or comp-3 in terms of memory utilization?
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
how do you reference the variable block file formats from cobol programs
what is the meaning of pic 9(09)v99-
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?