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
 

 

DISP for PS to append new records after restart

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
trupti_jaju

New User


Joined: 25 Jan 2006
Posts: 2

PostPosted: Thu Mar 29, 2007 4:32 pm    Post subject: DISP for PS to append new records after restart
Reply with quote

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

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 29, 2007 4:39 pm    Post subject:
Reply with quote

Use either SHR for appending records at the end of file.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 29, 2007 4:46 pm    Post subject:
Reply with quote

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

New User


Joined: 25 Jan 2006
Posts: 2

PostPosted: Thu Mar 29, 2007 4:46 pm    Post subject:
Reply with quote

i tried out it. but still i am losing my old records.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Thu Mar 29, 2007 4:48 pm    Post subject:
Reply with quote

SHR is wrong - but I agree with expat - look it up - this one is easy to find.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 29, 2007 4:49 pm    Post subject:
Reply with quote

murmohk1

Was that a typo or are you rolling around the floor laughing icon_biggrin.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 29, 2007 4:52 pm    Post subject:
Reply with quote

Sorry it was MOD not SHR. icon_redface.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 29, 2007 10:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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