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

TSO SAVE Command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Jun 14, 2011 1:15 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 14, 2011 1:44 pm
Reply with quote

what data do You need , depending on that

a plain listcat might be enough
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Jun 14, 2011 1:51 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 14, 2011 2:09 pm
Reply with quote

see here for a very good example of batch ISMF
www.servframe.com/wp-content/uploads/2010/12/ISMFDSNL.jcl_.txt
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Jun 14, 2011 5:30 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Jun 14, 2011 11:41 pm
Reply with quote

Check your JCL. Maybe ISPTABL or ISPTLIB is missing or misallocated.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Jun 14, 2011 11:52 pm
Reply with quote

Gylbharat,

Check this LINK out

Thanks,
Sushanth
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Wed Jun 15, 2011 12:35 pm
Reply with quote

Thanks everyone... It worked for me...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top