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
 

 

Problem with file creating on WORK volume

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Problem with file creating on WORK volume
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: 1738
Location: Bloomington, IL

PostPosted: Wed Feb 27, 2013 9:18 pm    Post subject: Re: Problem with file creating on WORK volume
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    Post subject: Reply to: Problem with file creating on WORK volume
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    Post subject: Reply to: Problem with file creating on WORK volume
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Feb 27, 2013 10:38 pm    Post subject: Reply to: Problem with file creating on WORK volume
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    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Wed Feb 27, 2013 10:51 pm    Post subject: Re: Reply to: Problem with file creating on WORK volume
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: 7908
Location: Bellevue, IA

PostPosted: Wed Feb 27, 2013 11:56 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2013 3:20 pm    Post subject: Re: Reply to: Problem with file creating on WORK volume
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.    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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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