View previous topic :: View next topic
|
Author |
Message |
srajanbose
New User
Joined: 11 Oct 2004 Posts: 69 Location: chennai
|
|
|
|
My requirement is like for example
aa.bbbb.cccc
aa.bbbb.dd are the dataset names. I want to list the dataset names if I know only the first qualifier. That is if I give aa.* it should display all the datasets with first qualifier as aa. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Or try this -
Code: |
//JS010 EXEC PGM=IDCAMS,REGION=2M
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT LVL(aa) ALL
//* |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
or this -
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.**
/* |
|
|
Back to top |
|
|
|