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
 

 

Need information about TAPe files

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

New User


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

PostPosted: Fri Mar 04, 2011 5:35 pm    Post subject: Need information about TAPe files
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 04, 2011 5:42 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 04, 2011 6:01 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Fri Mar 04, 2011 7:08 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Mar 04, 2011 7:14 pm    Post subject: Reply to: Need information about TAPe files
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

Site Director


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

PostPosted: Fri Mar 04, 2011 8:56 pm    Post subject:
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    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 getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


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