|
|
| Author |
Message |
arunkrishnac
New User
Joined: 29 Apr 2008 Posts: 5 Location: mysore
|
|
|
|
| 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 |
|
 |
References
|
|
 |
Moved: Thu Jun 19, 2008 5:04 pm by superk From Other Mainframe Topics to TSO/ISPF |
Bill Dennis
Senior Member
Joined: 17 Aug 2007 Posts: 313 Location: Iowa, USA
|
|
|
|
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 |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 530 Location: work
|
|
|
|
| Use DFHSM to backup datasets automatically. |
|
| Back to top |
|
 |
|
|