View previous topic :: View next topic |
Author |
Message |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Nov 03, 2005 4:34 pm Post subject: Offload from CA-View (SAR) |
|
|
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 |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Thu Nov 03, 2005 5:10 pm Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Fri Nov 04, 2005 2:01 am Post subject: |
|
|
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 |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Nov 04, 2005 9:11 am Post subject: |
|
|
Duh! I should have known that. Thanks guys. (by the way, it worked fine) |
|
Back to top |
|
 |
Ravi Beginner
Joined: 27 Jun 2005 Posts: 88 Topics: 2
|
Posted: Fri Nov 04, 2005 9:13 am Post subject: |
|
|
Wow... !! I liked it.. pretty much a GOOD POINT ... |
|
Back to top |
|
 |
|
|