IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How a command is executed in an ISPF panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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

Global Moderator


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

PostPosted: Thu Jun 19, 2008 9:33 pm
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top