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
 

 

How a command is executed in an ISPF panel

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

New User


Joined: 29 Apr 2008
Posts: 6
Location: mysore

PostPosted: Thu Jun 19, 2008 12:07 pm    Post subject: How a command is executed in an ISPF panel
Reply with quote

In an ISPF panel thats lists dataset, if we type a command (E, B, D etc.) against a dataset it performs respective operation on it. Can anyone explain me what happens at this time in the backend (i meant like if we type 'D' a JCL may be get executed at the backend to delete the dataset. Like this I want know the backend operation). I need to create a rexx macro that on issue of a command against a dataset creates a back up of it. Please provide help.
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jun 19, 2008 7:02 pm    Post subject:
Reply with quote

You can create your own CLIST/REXX to be invoked from option 3.4 dataset list. Name it something like 'BU' and it can either submit a batch job or invoke a foreground command to create a backup, if there is such a thing.

When your 'BU' command is called, the dataset name will be passed as a parameter. For example, here is a CLIST to do a LISTCAT on the 3.4 dataset.
Code:
PROC 1  ENTRYNM                                                               
/* THIS CLIST WILL DISPLAY THE LISTCAT  ENTRY SHOWING THINGS LIKE:     */     
/* ALLOCATIONS, BYTES USED, ETC.       USE AS A LINE COMMAND ON 3.4    */     
CONTROL NOFLUSH                                                               
LISTC ENTRY(&ENTRYNM) ALL                                                     
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Thu Jun 19, 2008 9:33 pm    Post subject: Reply to: How a command is executed in an ISPF panel
Reply with quote

Use DFHSM to backup datasets automatically.
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
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 Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


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