ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

POST opcode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • POST opcode

    Hi, anybody have any idea what a post opcode will do?



    Regards
    Sai
    To every equation there is a solution....
    Regards
    Sai.

  • #2
    Re: POST opcode

    Here's a link to the RPG Reference Guide for V5R3:

    Comment


    • #3
      Re: POST opcode

      POST (Post)
      Free-Form Syntax POST{(E)} {program-device} file-name
      Code Factor 1 Factor 2 Result Field Indicators
      POST (E) program-device file-name INFDS name _ ER _
      The POST operation puts information in an INFDS (file information data
      structure). This information contains the following:
      v File Feedback Information specific to RPG I/O for the file
      v Open Feedback Information for the file
      v Input/Output Feedback Information and Device Dependent Feedback
      Information for the file OR Get Attribute Information

      Comment


      • #4
        Re: POST opcode

        Hi Sai,

        The post will put the information in INFS ds.

        Hey u can refer ILE manual..
        'Coding = Experience'
        hsp

        Comment


        • #5
          Re: POST opcode

          yes, it's a good stuff. But a little bit of confusion will this opcode updates the fields associated with the Infds

          Regards
          Sai
          To every equation there is a solution....
          Regards
          Sai.

          Comment

          Working...
          X