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 Profile Log in to check your private messages Log in
 
Given a referback how to obtain the data being referred to

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

New User


Joined: 03 Apr 2009
Posts: 2
Location: Texas

PostPosted: Tue Apr 07, 2009 9:26 pm    Post subject: Given a referback how to obtain the data being referred to
Reply with quote

I am given a referback that refers to a DD statement that for a tape with VOL=SER=X. Is it possible to obtain the vol/ser value 'X' from the referback, and if so, how is it done?

I do not control the JCL with the original definition and can not modify it.
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Apr 07, 2009 9:47 pm    Post subject:
Reply with quote

Obtain the VOLSER where? Why?

If the file is cataloged, you don't need to know the VOLSER.

If the file is passed, you'll need the VOLSER in case the job is interrupted. You'll have to examine the job listing.

Perhaps explaining your problem will help us get your solution.
Back to top
View user's profile Send private message
Keith D. Johnston

New User


Joined: 03 Apr 2009
Posts: 2
Location: Texas

PostPosted: Tue Apr 07, 2009 10:27 pm    Post subject: Reply to: Given a referback how to obtain the data being ref
Reply with quote

The vol/ser must be placed into one or more separate jobs that are built to follow the current job. The following job(s) call a utility that explicitly requires both DSN and vol/ser. My code is in effect being a middleman. The tape is not cataloged. Changes to anything other than my code are not possible. This is a completely automated solution.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Apr 08, 2009 7:06 pm    Post subject:
Reply with quote

If the following jobs didn't require the explicit VOLSER, your step could use DISP=(OLD,CATLG) to get the file cataloged. Uncatalog when finished.
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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