The END_BROWSE_PROGRAM call
END_BROWSE_PROGRAM allows you to end a browse of program definitions initiated by START_BROWSE_PROGRAM.
END_BROWSE_PROGRAM
DFHPGISX [CALL,]
[CLEAR,]
[IN,
FUNCTION(END_BROWSE_PROGRAM),
BROWSE_TOKEN(name4),]
[OUT,
RESPONSE(name1 | *),
REASON(name1 | *)]
This command is threadsafe.
- BROWSE_TOKEN(name4)
- specifies either the token returned in the NEW_PROGRAM_TOKEN field of the last GET_NEXT_PROGRAM call, or that in the BROWSE_TOKEN field of the START_BROWSE_PROGRAM call (this token is updated after every GET_NEXT_PROGRAM call).
RESPONSE and REASON values for END_BROWSE_PROGRAM
RESPONSE | REASON |
---|---|
OK | None |
EXCEPTION | INVALID_BROWSE_TOKEN |
DISASTER | ABEND |
LOCK_ERROR | |
INVALID | None |
KERNERROR | None |
PURGED | None |