Getting input variable from panels



IBM's Command List programming language & Restructured Extended Executor

Getting input variable from panels

Postby atodpquery » Thu Dec 18, 2008 9:27 am

If you use REXX to generate JCL and there is an input from the panel. After the JCL is generated and you run another REXX program and can you use PULL or VGET to get the input variable or VGET
atodpquery
 
Posts: 31
Joined: Sat Nov 15, 2008 3:40 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Getting input variable from panels

Postby Gilles » Fri Dec 19, 2008 7:57 pm

I'm note sure I understand your exact need but here's my take. If you run a REXX program that calls a panel with some variable defined in the panel, when control returns to the REXX after the user has interacted with the panel, all variables are available in the REXX. Simple as that.

If you need some of those variables in another REXX program altogether, you can store those values in the shared pool with a VPUT (varname) SHARED and get it back in the other REXX wit VGET (varname) SHARED. The SHARED pool is gone if the user logs off so if you need those variables across sessions, you should use the PROFILE pool.
Gilles
 
Posts: 16
Joined: Mon Sep 29, 2008 6:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Getting input variable from panels

Postby atodpquery » Wed Dec 31, 2008 2:48 am

Thanks. It is clear now. :D
atodpquery
 
Posts: 31
Joined: Sat Nov 15, 2008 3:40 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post