Hi,
One of our COBOL program has got some files. Not all the files are will opened or written to on every run of the program. It depends on the values supplied by a member by parmlib. There is a strange thing we have noticed that if the files are being created on DASD the empty files does created even if the file is never opened or written by the program though when JCL is using UNIT=TAPEC for the same file and file is not opened, an empty file is not created. Why would such a thing happen and make a difference with DASD and TAPE?
Is there a difference in UNIT=DASD or TAPEC while files are created?
Re: Is there a difference in UNIT=DASD or TAPEC while files are created?
Are you using the DEFER paramaeter for the tape data sets?
Regards
Nic
Nic
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Is there a difference in UNIT=DASD or TAPEC while files are created?
Is not it a default behavior for an SMS managed site?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute