sponsored links

Collapse

Announcement

Collapse
No announcement yet.

Question about free form parm list (entry list replacement)

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

  • Question about free form parm list (entry list replacement)

    How is the entry list below converted into a procedure (pr/pi) declaration? if EZDSQLF2 is multiple data structures together so EXTDS failed or I am just doing it wrong


    D/copy qsysinc/qrpglesrc,ezdaep
    *
    *
    *
    C *Entry Plist
    C Parm Allow
    C Parm EZDSQLF2

  • #2
    I'm not certain what you mean by multiple data structure but hopefully (not tested) this will help.

    dcl-pi mypgm extpgm();
    allow char(20); // or whatever defn.
    ezdsqlf2 likeDS(ezdsqlf2_T);
    end-pi;

    dcl-ds ezdsqlf2_T extname(.....);

    Comment

    Working...
    X