Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

)PROC command explanation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Fri Jul 25, 2008 4:09 pm    Post subject: )PROC command explanation
Reply with quote

Could you please explain the meaning of the following commands given in )PROC section of a panel.

)PROC
&zsel = TRANS(TRUNC(&zcmd ,'.')

AR,'CMD(%SW2 AR)'

Thanks,
Paul
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri Jul 25, 2008 4:15 pm    Post subject: Reply to: )PROC command explanation
Reply with quote

the issue is not rexx/clist related...

here is a pointer to the ISPF bookshelf
Back to top
View user's profile Send private message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Fri Jul 25, 2008 4:21 pm    Post subject:
Reply with quote

Thanks for the information

Thanks,
Paul
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Fri Jul 25, 2008 9:33 pm    Post subject: Reply to: )PROC command explanation
Reply with quote

Say the user types ar.pv...

Code:
&zsel = TRANS(TRUNC(&zcmd ,'.')
AR,'CMD(%SW2 AR)'


The ar.pv command is truncated at the period and the prefix is used, like a case statement. The panel syntax is correct for the panel, but the effect is to work something like this:
Code:
Select
When (zsel = 'AR') Then Address ISPEXEC "SELECT CMD(%SW2 AR)"
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us