IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need information about TAPe files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivasaras

New User


Joined: 29 Sep 2007
Posts: 93
Location: chenna/i-

PostPosted: Fri Mar 04, 2011 5:35 pm
Reply with quote

hi,

My monthly job Process flow

it will get files from different sources

it will sort that and will print a report.

The input files which i received are 4 tape files from those different sources.

today it got failed with jcl-error S000, so i changed the output file to
a tape file and restarted the job.

job ran nearly 7 hours and abended with S322.

Please let me know how to handle this tape files and make the job to run fine.

thanks
siva
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 04, 2011 5:42 pm
Reply with quote

First you need to provide the output of the failed job for the JCL error to enable us to see why there was a JCL error, unfortunately psychic day was Thursday this week icon_rolleyes.gif

however, this is something that you should have already determined and corrected yourself.

As for the S322 abend, you will need to talk to your peers / site support to establish the correct job class(es) to be used for long running jobs.

You will need to tell them how much CPU and/or elapsed time had been used to help them to help you.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 04, 2011 6:01 pm
Reply with quote

Quote:
Please let me know how to handle this tape files and make the job to run fine.
You ask the impossible here. Each site has different policies and procedures for tapes and tape jobs -- depending upon the type of tape drives in use, the tape management system in use, which job class to use for tape jobs, and so forth and so on -- and since we do not work at your site, we cannot possibly know the details. You really have to consult your site support group, team leader or coworkers at your site for help.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Fri Mar 04, 2011 6:59 pm
Reply with quote

Adding to Robert's post,you also have to make shure that the physical tapes are delivered to a site where a suitable tape unit is available, and registered in the tape management system as external tape volumes so they can be mounted on your job's request.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Mar 04, 2011 7:08 pm
Reply with quote

Quote:
today it got failed with jcl-error S000, so i changed the output file to
You leave many loose ends in yuor question: 1. Do you get some JCL-error or an abend -- they are different things. 2. What prompted you to take the decision to use TAPE for the output file?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 04, 2011 7:14 pm
Reply with quote

siva, why aren't those four tapes copied over to DASD first? Wouldn't that make for a more efficient process downstream?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Mar 04, 2011 8:56 pm
Reply with quote

Hello,

Quote:
today it got failed with jcl-error S000, so i changed the output file to a tape file and restarted the job.

job ran nearly 7 hours and abended with S322.
Why was the decision made to change the output file to a tape? What was the complete abend info - you only posted part of it. . .

A common reason for a 322 abend is program code that wastes cpu time or gets into a loop. Another is because the volume of data for a particular run is much more than usual. How much cpu time did this take previously? How much did it use before he 322 abend?

As Kevin mentioned, Suggest you copy these files to dasd for at least the following:
To ensure the files are readable before running the actual process(es).
To have a backup - you may even want to copy to dasd as well as a local tape that is manages by the tape system and is not some foreign tape.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
Search our Forums:

Back to Top