Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
No Answer is Posted For this Question
Be the First to Post Answer
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
which of the following can be used as a check protection symbol a.Z b.S c.* d.+
I have a File that has duplicate records. I need only those records that occur more than thrice.?
We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?
What are the different data types in cobol?
What are the ways you can generate a copybook?
What is the difference between performing a SECTION and a PARAGRAPH?
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
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?
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
What is SET TO TRUE all about, anyway?