Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to pass parameters from Rexx to Panel

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

New User


Joined: 19 Jun 2008
Posts: 39
Location: USA

PostPosted: Mon May 18, 2009 12:45 pm    Post subject: How to pass parameters from Rexx to Panel
Reply with quote

Hello,

Can you please suggest how to pass a parameter from Rexx Program to ISPF panel.?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon May 18, 2009 1:36 pm    Post subject:
Reply with quote

Use a variable of the same name in the two
Back to top
View user's profile Send private message
trilokdewangan

New User


Joined: 19 Jun 2008
Posts: 39
Location: USA

PostPosted: Mon May 18, 2009 2:24 pm    Post subject:
Reply with quote

How the panel will understand that it's variable name ??


For an example I have panel like .....

Package# : _package

here _package is a variable passing values to rexx program.. but I want Package# as an variable ..I want to pass this name from Rexx program. Please suggest.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon May 18, 2009 2:30 pm    Post subject:
Reply with quote

expat wrote:
Use a variable of the same name in the two

Try it and see for yourself
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon May 18, 2009 9:37 pm    Post subject: Reply to: How to pass parameters from Rexx to Panel
Reply with quote

In the panel body, the variable name is preceded by an attribute character or an ampersand.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu May 21, 2009 12:16 pm    Post subject:
Reply with quote

Try VPUT VGET
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 21, 2009 2:26 pm    Post subject:
Reply with quote

premkrishnan wrote:
Try VPUT VGET

Why would you want to introduce two steps that are absolutely not required.

As Pedro and I have explained ........................

ho hum icon_rolleyes.gif
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu May 21, 2009 3:16 pm    Post subject:
Reply with quote

I just tried to give an alternate solution icon_redface.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 21, 2009 4:04 pm    Post subject:
Reply with quote

premkrishnan wrote:
I just tried to give an alternate solution icon_redface.gif

No problems with that, but unfortunately not the best solution.

Maybe we should wait and see what the OP has to say about the solutions already offered and let us know how it went.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu May 21, 2009 4:47 pm    Post subject:
Reply with quote

Glad to know I didnt create a mess icon_smile.gif
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us