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
 

 

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: 8593
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 Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts Wildcard logic in COBOL dudenithy COBOL Programming 13 Thu Sep 01, 2016 7:36 pm
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts Compare 2 files & write Indicator... nagendrapgupta SYNCSORT 5 Sun May 15, 2016 10:42 am
No new posts DFSORT to match two files and write John F Dutcher DFSORT/ICETOOL 6 Thu May 12, 2016 5:17 pm


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