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
 
Where is my exec being executed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Thu Aug 25, 2011 7:50 pm    Post subject: Where is my exec being executed
Reply with quote

I'd like to add some code to an exec that copies a data set to an identical copy (with or without the original contents). When his is executed on the DSLIST (ISPF option 3.4), I'd like to add a bit of code to refresh the display, so that the copied data set is immediately visible, without me actually having to do a "REF" first.

Obviously, I could screen-scrape the panel, look for "DSLIST - Data Sets Matching" (or "ISRUDSL0 Data Sets Matching") combine that in a belts-and-braces approach with a search for "Command - Enter "/" to select action Message", but can anyone suggest a more sensible approach?
Back to top
View user's profile Send private message

Pedro

Senior Member


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

PostPosted: Fri Sep 02, 2011 1:51 am    Post subject: Reply to: Where is my exec being executed
Reply with quote

I have not tried it, but how about:
Code:
ZCMD = 'REF'
"VPUT (ZCMD) SHARED"
"CONTROL NONDISPL ENTER"
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 187
Location: Toronto, ON, Canada

PostPosted: Sat Sep 10, 2011 3:19 am    Post subject:
Reply with quote

According to the manual "ISPF User Guide Volume II" (Chapter 5 Dataset List Utility option 3.4) you should be able to use the below code to do a referesh of the dataset display
Code:
ZDLREF = 'Y'                             
ADDRESS ISPEXEC "VPUT (ZDLREF) SHARED"

However I tried it and it doesn't work. Not sure why. Maybe I am misinterpreting the manual.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Sat Sep 17, 2011 2:17 am    Post subject: Reply to: Where is my exec being executed
Reply with quote

Quote:
However I tried it and it doesn't work. Not sure why.

The manual also mentions ZDLNDSN and ZDLMSG which do work.

For ZDLREF, I suspect that you can get the dataset information to be updated. For example, if you DISP(MOD) and write a bunch of records, the update through ZDLREF may show a higher %Used value. I did not try to confirm.

I could not get my earlier suggestion of ZCMD = "REF" to work.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
This topic is locked: you cannot edit posts or make replies. Providing inputs to a panel of anothe... Raghur CLIST & REXX 2 Tue Apr 05, 2016 12:01 pm

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