Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

TSO SAVE Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: TSO SAVE Command
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Jun 14, 2011 1:44 pm    Post subject: Reply to: TSO SAVE Command
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Jun 14, 2011 2:09 pm    Post subject: Reply to: TSO SAVE Command
Reply with quote

see here for a very good example of batch ISMF
http://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    Post subject:
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: 1232
Location: Israel

PostPosted: Tue Jun 14, 2011 11:41 pm    Post subject:
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: 1013
Location: India

PostPosted: Tue Jun 14, 2011 11:52 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us