IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

How to handle input entered on ISPF panel dynamically?

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC
Goto page Previous  1, 2
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
Ekta Sharma



Joined: 26 Feb 2008
Posts: 32
Location: pune

Posted: Mon Jul 21, 2008 4:14 pm    Post subject:  

I used:
"ISPEXEC EDIT DATASET('"!!EDIT_THIS!!"("!!MEM1!!")')"


It gave:
20 *-* "ISPEXEC EDIT DATASET('"!!EDIT_THIS!!"("!!MEM1!!")')"
>L> "ISPEXEC EDIT DATASET('"
>L> "!!EDIT_THIS!!"
>O> "ISPEXEC EDIT DATASET('!!EDIT_THIS!!"
>L> "("
>O> "ISPEXEC EDIT DATASET('!!EDIT_THIS!!("
>L> "!!MEM1!!"
>O> "ISPEXEC EDIT DATASET('!!EDIT_THIS!!(!!MEM1!!"
>L> ")')"
>O> "ISPEXEC EDIT DATASET('!!EDIT_THIS!!(!!MEM1!!)')"


Data set not cataloged
'!!EDIT_THIS!!' was not found in catalog.

Current dialog statement:
EDIT DATASET('!!EDIT_THIS!!(!!MEM1!!)')
Back to top  
enrico-sorichetti



Joined: 14 Mar 2007
Posts: 3082
Location: italy

Posted: Mon Jul 21, 2008 4:20 pm    Post subject: Reply to: How to handle input entered on ISPF panel dynamica  

try this other way ( I usually do not recommend it because it makes things less clear )

Code: "ISPEXEC EDIT DATASET('"EDIT_THIS"("MEM1")')"

but it would be wise to find out the correct concatenation char for Your
environment,
it could be due also to the 3270 emulator setup
Back to top  
Ekta Sharma



Joined: 26 Feb 2008
Posts: 32
Location: pune

Posted: Mon Jul 21, 2008 4:31 pm    Post subject:  

This one worked. Thanks enrico!

Another small query:
As I told that there is a list of PDS on the panel from where the user can select any one.
This list of PDS is editable and the user can add PDS names to it as per his requirement. I have used VPUT for retaining the PDS names on the panel. But once I logoff from TSO, this list of PDS is lost. How can I retain this list (I want that the PDS names should stay on the panel until the user himself removes them)?
Back to top  
ofer71



Joined: 27 Dec 2005
Posts: 1930
Location: Israel

Posted: Mon Jul 21, 2008 4:40 pm    Post subject:  

use VPUT & VGET with PROFILE.

o.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF Goto page Previous  1, 2
Page 2 of 2
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM