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

Answer Posted / shekhar

initialize with a value and increase & decrease accordingly.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2739


explain sorting techniques in cobol program?

694


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1964


How many bytes S(8) comp field occupy and its maximum value?

1644


What is rmode(any) ?

690






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5386


What is perform what is varying?

714


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

835


) How do u handle errors in BMS macro

1514


Write the code implementing the perform … varying.

648


What are all the divisions of a COBOL program?

667


) what is the difference between AID and HANDLE AID?

1641


Describe the cobol database components?

686


What is the usage of comp fields in cobol?

664


How do you reference the fixed block file formats from cobol programs

713