I'm looking for a good example of using a REXX panel exit.

I've tried and get an error.

Here is the pertinent code and message:

)PROC
  PANEXIT ((Field1 Field2 Field3 zuser),REXX,PANEXIT,EXITDATA,MSG=PEX001)
)END

Error message:
Exit data or message field defined incorrectly for panel exit.

I've also tried:

)PROC
  PANEXIT ((Field1 Field2 Field3 zuser),REXX,PANEXIT,,MSG=PEX001)
)END

With the same error message.

The code works if I use this without the exitdata and msg:

)PROC
  PANEXIT ((Field1 Field2 Field3 zuser),REXX,PANEXIT)
)END


Thanks in advance



------------------------------------------------------
Lionel B. Dyck <><
BMC Software
Product Development Lead, Common Install and Services
10431 Morado Circle, Building 5, Austin, Texas 78759
Office Phone: 512-340-6031 (extension x26031)
E-Mail:  [email protected]
"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to