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

ความคิดเห็น • 3

  • @tahirm09
    @tahirm09 วันที่ผ่านมา

    Good

  • @sattarbhai6031
    @sattarbhai6031 13 วันที่ผ่านมา

    I have one question.
    One PF file 100 records.
    But I need 1 to 50 records on how to display?

    • @Basavanthvarma3
      @Basavanthvarma3  13 วันที่ผ่านมา +1

      @@sattarbhai6031 you can do it by using opnqryf