That solved the issue - thank you (now why didn't I see that)

------------------------------------------------------
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

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Thomas Berg
Sent: Thursday, April 24, 2014 6:49 AM
To: [email protected]
Subject: Re: ISPF PanExit question

I think you must have a '&' before 'EXITDATA':

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



Best Regards,
Thomas Berg
___________________________________________________________________ 
Thomas Berg   Specialist   zOS/RQM/IT Delivery   Swedbank AB (Publ)

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] 
> On Behalf Of Dyck, Lionel
> Sent: Thursday, April 24, 2014 12:46 PM
> To: [email protected]
> Subject: ISPF PanExit question
> 
> 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

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

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

Reply via email to