I tried in many ways, but it loops over again and again in the last record and reports me abend error.
Latest Answer: In this code i am using cnt for finding the number of records.0700-LOAD-UOM-FILE.READ MPSF-item-FILE AT END
MOVE WSL-Y TO WSW-ITEM-FILE-SWT
MOVE WS-ITEM-TAB-CNT TO WS-UOM-ITEM-MAX
GO TO 0700-LOAD-UOM-FILE-EXIT.
ADD WSC-1 TO WS-ITEM-TAB-CNT.
IF ...
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?
Latest Answer: Open the QTP application >go to File>SettingsIn settings Select the Environment TabThen you can see the details of your program Like under which "OS" it is running, the name of case, programid etc.Come back to your test and write a statement ...
Latest Answer: The eject command is similar to the forward slash In olden times when COBOL was a length and combersome language to master on, generally the entire program were printed using drum roller printer this type of printer were notorious for cutting the last ...
Latest Answer: Data division contains 6 sections but generally only 3 are used.They are-1.
Working-storage section.2. File section.3. Linkage section.4.
Local storage section.-used for the program 's local area.5. Screen section.- for screen alignment.6.
Report ...
When the input file is empty you would always want your COBOL program to end with MAXCC = 4. How would you achieve this?
Latest Answer: goback: controller should return back to where ever it comes from.chain: controller will go to subprogram after compleation of subprogram ...
Latest Answer: LOW-VALUE represents X'00' and HIGH-VALUE represents X'FF'. These equate to the lower and upper limits of the collating sequence. All other values fall in between. There are many uses. Say you wanted to know who had the highest ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top