MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Offload from CA-View (SAR)

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Nov 03, 2005 4:34 pm    Post subject: Offload from CA-View (SAR) Reply with quote

I am trying to offload a number of entries from CA-View using the /LOAD statement:

/LOAD JOB1 GEN=1 SEQ=1
/LOAD JOB1 GEN=1 SEQ=2
/LOAD JOB1 GEN=2 SEQ=1
/LOAD JOB1 GEN=3 SEQ=2

When I direct it to SYSOUT=*, I get all 4 outputs, but when I direct it to a dataset, I only get the last one.

Does anyone know how to get all 4 into a dataset?
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Nov 03, 2005 5:10 pm    Post subject: Reply with quote

I don't know anything about CA-View, but to append data to the end of an output data set usually requires DISP=MOD. (SYSOUT=* does the equivalent of the MOD function automatically.) So try MOD and see if that does it.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Nov 04, 2005 2:01 am    Post subject: Reply with quote

Bithead,

Code:

but when I direct it to a dataset, I only get the last one.


I am not sure about CA-View, but this can happen only when the output dataset is closed and re-opened for every load. The sub-sequent outputs will override the previously stored ones. Just as Frank mentioned, I also think that DISP=MOD will solve this problem.

Try and let us know what happens,

Regards,
Phantom
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Fri Nov 04, 2005 9:11 am    Post subject: Reply with quote

Duh! I should have known that. Thanks guys. (by the way, it worked fine)
Back to top
View user's profile Send private message
Ravi
Beginner


Joined: 27 Jun 2005
Posts: 88
Topics: 2

PostPosted: Fri Nov 04, 2005 9:13 am    Post subject: Reply with quote

Wow... Idea !! I liked it.. pretty much a GOOD POINT Arrow ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group