CABxx & CASxx opcodes in RPGLE programming in as400
ฝัง
- เผยแพร่เมื่อ 1 ธ.ค. 2024
- CABxx op-code compares factor 1 with factor 2 and as per the condition specified by CABxx, the program control goes to the program Label specified in the result field.
The Label in result field denotes a TAG Label
xx represents EQ, GE, GT, LE, LT, and NE.
CASxx opcode compares factor 1 with factor 2 and as per the condition specified by CASxx, the subroutine specified in result field is processed.
xx represents EQ, GE, GT, LE, LT, NE or BLANK.
The CAS statement is used to provide a subroutine if none of the previous CASxx operations have been met.
An ENDCS operation denotes the end of the CAS group and follows the last CASxx statement
Good
I have one question.
One PF file 100 records.
But I need 1 to 50 records on how to display?
@@sattarbhai6031 you can do it by using opnqryf