View previous topic :: View next topic
|
Author |
Message |
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
How do you usually populate variables in a panel ? |
|
Back to top |
|
|
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
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 |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
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 |
|
Back to top |
|
|
Josh Keller
New User
Joined: 08 Oct 2007 Posts: 36 Location: Columbia, SC
|
|
|
|
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 |
|
|
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
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 |
|
|
samedesh Currently Banned New User
Joined: 22 May 2007 Posts: 46 Location: India
|
|
|
|
Hi Pedro,
First of all thanks a lot for you suggestion which worked sucessfully
Initially I was not initializing some libraries which I got after a lot of investigation in system.
But atlast it worked.
Thanks once again |
|
Back to top |
|
|
|