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
 

 

Pass variable values using select command in rexx

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

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Mon May 17, 2010 7:48 pm    Post subject: Pass variable values using select command in rexx
Reply with quote

Hi,

I need to pass the value in panel's variable using SELECT command in Rexx. The panel to which I am passing the value is one of the Endevor's panel. I checked in manual but was unable to find the command, can we pass the value in the same way... or is their any other way?? Please help..
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 17, 2010 7:53 pm    Post subject:
Reply with quote

How do you usually populate variables in a panel ?
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Mon May 17, 2010 7:56 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

I move my data into the panel variables by assignment operator('=')ofcourse before 'SELECT' statement.
But I have also tried this way.. but it is not working icon_sad.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: Mon May 17, 2010 8:01 pm    Post subject:
Reply with quote

Have you used a TRACE in your REXX
What are you using the SELECT command for

Please learn to give as much detail as possible as not everyone likes playing 20 questions
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Mon May 17, 2010 8:09 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

Hi expat,

I tried using "trace ?R" command, variables are populated by data in rexx program(by using '=') and then I am using select command due which it displays the panel (but without any data on screen).

I tried to pass data with normal panel(which I have created) with its variable but it is working fine.

But when I tried to pass values to endevor panel then it does not get populate.

My select command is
ADDRESS 'ISPEXEC'
"SELECT PGM(ISPSTRT) PARM(W;P;2;U;O) SCRNAME(harleen)"

Have I done mesh icon_rolleyes.gif
Back to top
View user's profile Send private message
Josh Keller

New User


Joined: 08 Oct 2007
Posts: 36
Location: Columbia, SC

PostPosted: Fri May 21, 2010 6:08 pm    Post subject:
Reply with quote

Quote:
I tried to pass data with normal panel(which I have created) with its variable but it is working fine.


Double check that Endevor panel and see if its doing a VGET for those vars and overlaying yours. If that's the case, you can overlay the profile vars yourself and then let Endevor pull them in. Keep in mind you'll have to been in the right APPL ID

Also just curious, what's the name of the Endevor panel you're trying to display?
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Fri May 21, 2010 6:48 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

Hi Josh,

Thanks for the reply. I checked for application id and it was different from my default application id. Unfortunately.. I don't have access to endevor's application id. So overriding options seems to be not possible.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri May 21, 2010 7:23 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

1. Call your own rexx program using the Endevour applid.
2. Pass to your program, the information that needs to be saved.
3. VPUT to profile
4. exit

5. Then call the normal Endevour program.
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Mon May 24, 2010 2:26 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

Hi Pedro,

I tried what you have specified. But again its giving problem while VPUT command(RC=-3) which might be because variables not found in profile. As this is access issue with endevor application id. Is their any way to check the access/ contents of endevor application id. I tried 3.9 option in ISPF.
Code:
9  Commands    Create/change an application command table
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Mon May 24, 2010 5:11 pm    Post subject: Reply to: Pass variable values using select command in rexx
Reply with quote

Hi Pedro,

First of all thanks a lot for you suggestion which worked sucessfully icon_lol.gif
Initially I was not initializing some libraries which I got after a lot of investigation in system.

But atlast it worked.

Thanks once again icon_lol.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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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