View previous topic :: View next topic
|
Author |
Message |
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Hi
When we type SAVE ABC on command on the command line -under dataset listing, the entire listing gets saved in the dataset - USER.ABC.DATASETS
Code: |
DSLIST - Data Sets Matching USER.TEST.AAAAAAA.* Row 1 of 3
Command ===> save abc Scroll ===> CSR
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
USER.TEST.AAAAAAA.RECONP.CNTL TST91E
USER.TEST.AAAAAAA.RECONP.P.JCL TST805
USER.TEST.AAAAAAA.TOOLS TST82F
|
Output gets saved in
Code: |
EDIT AAAAAAA.ABC.DATASETS Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 USER.TEST.AAAAAAA.RECONP.CNTL TTTTTE PO FB 80 8
000002 USERCAT.VPPPP28
000003 USER.TEST.AAAAAAA.RECONP.P.JCL TTTTT5 PO FB 80 8
000004 USERCAT.VPPPP28
000005 USER.TEST.AAAAAAA.TOOLS TTTTTF PO FB 80 80
000006 USERCAT.VPPPP28
|
Can we run the same command in batch ? where I need the list of all the datasets based on HLQ.MODE.* |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what data do You need , depending on that
a plain listcat might be enough |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
The datasets - HLQ.MODE.* are some 18000 datasets and doing a listcat and formatting takes lot of time. In 3.4 we get the formatted output and it runs pretty quickly also. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Hi Enrico...
I went through the job...
When I executed, I got the below error
Code: |
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
PROFILE NOPREFIX
READY
ISPSTART CMD(ACBQBAR1 DSNLIST) BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(999
Table being printed is: DSNLIST
Number 1 parameter was: DSN
Number 2 parameter was: VOLSER
Number 3 parameter was: LASTREF
Number 4 parameter was: EXTNUM
Number 5 parameter was: %NOTUSED
TBOPEN OF TABLE DSNLIST FAILED BECAUSE IT DOESN'T EXIST
ADCXJ23.ADCXJ231.JOB34944.D0000116.? was preallocated (no free was done).
READY
END
|
|
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Check your JCL. Maybe ISPTABL or ISPTLIB is missing or misallocated. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Gylbharat,
Check this LINK out
Thanks,
Sushanth |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Thanks everyone... It worked for me... |
|
Back to top |
|
|
|