ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

DCL-PI returning a pointer

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

  • DCL-PI returning a pointer

    I have been using free format RPG for a while now in lieu of fixed format "C" specs. I am just starting to get my feet wet with free format "D", "F" and "H" specs. I am trying to create a subprocedure that will create a user space (by calling QUSCRTUS and QUSPTRUS) then returning the pointer that is returned from QUSPTRUS. How to specify the DCL-PI statement to return a pointer. Most of the examples I have found on the web are for fixed format (which I already know how to do)

  • #2
    ignore this, I found it...........POINTER

    Comment

    Working...
    X