View previous topic :: View next topic
|
Author |
Message |
sannar
New User
Joined: 12 Feb 2008 Posts: 4 Location: Pondy
|
|
|
|
Hi,
I want to know the list of all datasets that got migrated in my mainframe LPAR.
If so let me the syntax please. Thanks! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SYS1.SAMPLIB - IGGCSIRX is a good place to start |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
ISMF dialogs have all the filtering options You need for such a task,
after having built the list You can print it choosing the appropriate columns |
|
Back to top |
|
|
sannar
New User
Joined: 12 Feb 2008 Posts: 4 Location: Pondy
|
|
|
|
Hi enrico sorichetti,
I was in the ISMF screen. Help me how to proceed from next step till end.
Hi expat,
SYS1.SAMPLIB(IGGCSIRX) i was getting into the REXX.
Whether the REXX program will answer my question.If so how....? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The REXX is a simple example of the CSI utility, and as supplied will tell you the dataset name and the volume it resides on.
It would be fairly simple to amend the code to include only thos with a volser of MIGRAT |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Try this JCL:
Code: |
//STEP10 EXEC PGM=IKJEFT1A
//SYSPROC DD DSN=SYS1.SAMPLIB,DISP=SHR
//SYSTSPRT DD DSN=HLQ.LIST.ALL,
// DISP=(NEW,CATLG,CATLG),
// UNIT=DISK,SPACE=(CYL,(50,50),RLSE),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//SYSTSIN DD *
%IGGCSIRX
HLQ.**
/* |
This is just an extension of expat's earlier reply..
Quote: |
SYS1.SAMPLIB - IGGCSIRX is a good place to start |
BTW, IDCAMS LISTCAT can also do this.Something like
Code: |
//SYSIN DD *
LISTCAT -
LEVEL(HLQ) ALL
/* |
& then follow this
Quote: |
It would be fairly simple to amend the code to include only thos with a volser of MIGRAT |
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you copy the REXX and amend the code
Code: |
SAY COPIES(' ',8) DTYPE DNAME VOLSER.1 VOLSER.2 VOLSER.3
|
BECOMES
Code: |
IF VOLSER.1 = 'MIGRAT' THEN
SAY COPIES(' ',8) DTYPE DNAME VOLSER.1 VOLSER.2 VOLSER.3
|
You will have only migrated datasets |
|
Back to top |
|
|
|