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

Problem with file creating on WORK volume


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
satyapn9

New User


Joined: 08 Oct 2010
Posts: 27
Location: India

PostPosted: Wed Feb 27, 2013 9:10 pm
Reply with quote

Hi, Below is the production file which I would like to create on DISK but after submitting the job on production it is creating on WORK volume.

Could you suggest me any parameters can be passed to job such that it forces the file allocation on DISK volume instead of WORK?

Below is the JCL code i have used.
Code:
//COPY01   EXEC PGM=IEBGENER                     
//SYSPRINT DD SYSOUT=*                           
//SYSOUT   DD SYSOUT=*                           
//*                                               
//SYSIN    DD DUMMY                               
//*                                               
//SYSUT1   DD DISP=SHR,                           
//            DSN=TEST.TST.MZZXXX0.MAIL           
//*                                               
//SYSUT2   DD DSN=PROXXX.MZZXXX0.XXX.MAIL,       
//            DISP=(NEW,CATLG,DELETE),           
//            SPACE=(CYL,(1,1),RLSE),UNIT=DISK,   
//            DCB=(RECFM=FB)
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Feb 27, 2013 9:18 pm
Reply with quote

satyapn9 wrote:
Hi, Below is the production file which I would like to create on DISK but after submitting the job on production it is creating on WORK volume.

Could you suggest me any parameters can be passed to job such that it forces the file allocation on DISK volume instead of WORK?

How do you know that the device is not in a sub-group WORK of esoteric group DISK?
Back to top
View user's profile Send private message
satyapn9

New User


Joined: 08 Oct 2010
Posts: 27
Location: India

PostPosted: Wed Feb 27, 2013 10:21 pm
Reply with quote

When it created on WORK volume getting deleting after 24 hours as per our storage setup.

So want to create on DISK to retain it permanently.
Back to top
View user's profile Send private message
satyapn9

New User


Joined: 08 Oct 2010
Posts: 27
Location: India

PostPosted: Wed Feb 27, 2013 10:25 pm
Reply with quote

Also I posted here to get to know any parameters which will FORCE a file creates on DISK. My storage support would do much delay in answer/reply.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Feb 27, 2013 10:38 pm
Reply with quote

Quote:
Also I posted here to get to know any parameters which will FORCE a file creates on DISK. My storage support would do much delay in answer/reply.


what is that You do not understand when somebody tells

Quote:
since we do not belong to Your organization we do not know enough to give a useful advice
? icon_evil.gif
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Wed Feb 27, 2013 10:49 pm
Reply with quote

You may need a VOL=SER parameter. For example, in my current IT shop if I use VOL=SER=APP it will go to an APPlication programmer disk pack.
If I do not have a VOL=SER parameter, my data goes to a SYStem pack which will be automatically deleted at the ned of the day.
For production we use VOL=SER=PRD.
I do not know of course what your shop volser parameters.

Quote:
//SYSUT2 DD DSN=PROXXX.MZZXXX0.XXX.MAIL,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(1,1),RLSE),UNIT=DISK,
// VOL=SER=??????, <-your installation
// DCB=(RECFM=FB)
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Feb 27, 2013 10:51 pm
Reply with quote

satyapn9 wrote:
When it created on WORK volume getting deleting after 24 hours as per our storage setup.

So want to create on DISK to retain it permanently.

In my shop, it is impossible, not arcanely difficult but impossible, to create a non-volatile PS data set with a TSO ID as HLQ, so that witless sotfware engineers don't su** up all the DASD with their trash. Have you considered that the same policy may be in place in yours?
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: Wed Feb 27, 2013 11:56 pm
Reply with quote

Quote:
Also I posted here to get to know any parameters which will FORCE a file creates on DISK. My storage support would do much delay in answer/reply.
What you are asking about is SPECIFIC TO YOUR SITE. Nowhere else in the entire world will the exact same policieis and storage allocation rules be used. So, unless you take the time to ask your site support group and get an answer from them, you will not be able to get an answer to your question -- period. For example, at my site we do not even have a WORK group as you have defined; none of our data sets will go away in less than 3 days.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 28, 2013 3:20 pm
Reply with quote

satyapn9 wrote:
Also I posted here to get to know any parameters which will FORCE a file creates on DISK. My storage support would do much delay in answer/reply.
If you're allowed, issue MIGRATE and RECALL for data-set in question.

If you want to listen that if "in JCL" you can 'force' to have a volume of your choice under SMS (ACS) as you've aksed for, no that's not possible as an end-user like you (me).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top