Ü  PLIST (Identify a Parameter List)

·         It is used to define a list of parameter that will be used for calling a program.

 

Example

       I.            Called program uses PLIST/PARM to take the parameters sent by the calling program.


C     *ENTRY        PLIST
C                   PARM                    OLDLIB1
C                   PARM                    NEWLIB1
C                   PARM                    OLDLIB2
C                   PARM                    NEWLIB2
C                   PARM                    OLDLIB3
C                   PARM                    NEWLIB3

 

 

 

II.    Calling Program sending the parameters using PLIST


     C     PLIST1        PLIST
     C                   PARM                    Fld1              5 2
     C                   PARM                    Fld2              4 2
     C
     C                   CALL     'PROG1'        PLIST1

 





User Comments:





Copyright © Go4as400.com, 2013-2017. Copyright notice