Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
restart logic to write a jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
tirumalareddy maheswara
Currently Banned

New User


Joined: 24 Nov 2007
Posts: 7
Location: hyderabad

PostPosted: Sat Feb 09, 2008 3:41 pm    Post subject: restart logic to write a jcl
Reply with quote

Hi

I have one file with 1 to 10000 records.I got abend at 5000 recored.I want to restart from 5001 th record .I want jcl for this query.
Normal jcl or using ICE TOOL is not a problem

Some infor : 1 to 10000 records in file1

after restart i want to move to temporary file and delete upto 5000 records and rename temporary file with input file.Please give some jcl to me


Thanks

T.Maheswara Reddy
Back to top
View user's profile Send private message

expat

Global Moderator


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

PostPosted: Sat Feb 09, 2008 4:04 pm    Post subject:
Reply with quote

Search the DFSORT forum, or manual, for how to skip records.

This has been discussed many times before.
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: Sat Feb 09, 2008 8:05 pm    Post subject:
Reply with quote

Hello T.Maheswara Reddy and welcome to the forums,

To properly handle restarting the abended process, there is more to consider than merely skipping records.

As the original process ran, was it producing some report? The continuation needs to be syncronized with what was done in the abended run. What about counters/accumulators - they too need to be dealt with.

Does the process write some output file(s)? Yup, those too need to be handled so that when the "re-start" is run, the output files have everything that would be in the file(s) had there been no abend.

Restart is not simply a matter of some jcl and skipping some records. . .
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am
No new posts WRITE to VSAM giving duplicate RC picus_mf CICS 1 Fri Feb 23, 2018 2:52 pm
No new posts how to add the amount for duplicate r... SRUTHI DRAVIDAMANI COBOL Programming 6 Wed Feb 21, 2018 7:21 pm
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us