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: 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am

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