View previous topic :: View next topic
|
Author |
Message |
trupti_jaju
New User
Joined: 25 Jan 2006 Posts: 2
|
|
|
|
what would be the disposition for flat file to append new records at the end of old records when i submit my job again after abnormal termination so that i cannot lose my old records? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Use either SHR for appending records at the end of file. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you taken a look in the JCL manual - the anser is there.
In fact it probably took you longer to post this thread than it would have taken you to find the answer yourself. |
|
Back to top |
|
|
trupti_jaju
New User
Joined: 25 Jan 2006 Posts: 2
|
|
|
|
i tried out it. but still i am losing my old records. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
SHR is wrong - but I agree with expat - look it up - this one is easy to find. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
murmohk1
Was that a typo or are you rolling around the floor laughing |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sorry it was MOD not SHR. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, MOD will allow appending to the end of an existing file. If you have an abend, it may not be as simple as merely appending to the end of what was already in the file. This could leave you with more or less than the correct amount of data.
If you are going to restart from some point, you must ensure that everything is back in sync to the restart point. |
|
Back to top |
|
|
|