Latest Answer: it will not return back to the control. ...
Latest Answer: Yes. Compiling a program not only checks for syntax Error but also creates the object code i.e the Load module and we always execute this load module only. ...
yes when there is online
Latest Answer: for this u have 2 once again declare the record structure in working-storage section. ...
In Cobol we may get return code of 4 or 8 or 12 or 16, If this is the case why the picture clause of return code in alphanumeric field? why not numeric?
A cursor is opened.After fetching few rows. it is opened again before closing it.What will be the result?
Latest Answer: If we code the program to open cursor before closing it, Open cursor will not be successfull, we will get SQL code other than zero ...
I tried in many ways, but it loops over again and again in the last record and reports me abend error.
Latest Answer: The above answers are ok; i'm giving it in a simplified way: The complete program follows: ********************************************************************ID DIVISION.PROGRAM-ID. ABC.ENVIRONMENT DIVISION.INPUT-OUTPUT SECTION.FILE-CONTROL. ...
Stop Run is last command in COBOL program.But if it is missing, will the program abend?
Latest Answer: "Stop Run" and "Go Back" both indicate to the program to end processing and in the latter case to transfer control to the calling program.If you dont specify either of these in your program the behaviour might be unpredictable. Most ...
Latest Answer: Call by content : If we change formal arguments (variables used in sub program), their corresponding actual arguments (variables used in main) will not be changed.ex ) CALL 'subprg' USING BY CONTENT A, B, C.Call by reference : ...
How do you use REDEFINE for a group variable which is having arrays in it? 01 VAR-A PIC X(100) 01 VAR-B REDEFINES VAR-A. 05 TEMP-1 OCCURS 0 TO 10 TIMES DEPENDING ON VAR-X. 05 TEMP-2 OCCURS 1 TO 100 TIMES DEPENDING ON VAR-Y.How do you use it in file section?
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top