I have a piece of program that checks a file to see if a record exists and displays a message on the screen for the user if it doesn't.
The message asks the user to press F12 to ignore the issue but looking at the code I don't think the logic for the continue exists. Below is the bit of code. I need to find a way for the program to accept the F12 and continue.
C key chain filename 99
C *IN99 IFEQ '1'
C I ANDLT 50
C EDTFLG IFNE 'E'
C Z-ADD RRN1 H@PAG1
C END
C MOVE '1' *IN21
C ADD 1 I
C MOVE 'USR0220' MSGS(I)
C MOVE 'E' EDTFLG
C EXSR $EDMSG
C END
I'm thinking of adding the following code:
C *INKL IFEQ '1'
c continue
c endif
but I can't find the Continue command.
Any suggestions on what I can use to make the program continue?
Thanks in advance.
The message asks the user to press F12 to ignore the issue but looking at the code I don't think the logic for the continue exists. Below is the bit of code. I need to find a way for the program to accept the F12 and continue.
C key chain filename 99
C *IN99 IFEQ '1'
C I ANDLT 50
C EDTFLG IFNE 'E'
C Z-ADD RRN1 H@PAG1
C END
C MOVE '1' *IN21
C ADD 1 I
C MOVE 'USR0220' MSGS(I)
C MOVE 'E' EDTFLG
C EXSR $EDMSG
C END
I'm thinking of adding the following code:
C *INKL IFEQ '1'
c continue
c endif
but I can't find the Continue command.
Any suggestions on what I can use to make the program continue?
Thanks in advance.