Changed-date File Attribute using C.

C/C++ and Java for MVS & zOS.
Post Reply
Anushka Sharma
Registered Member
Posts: 26
Joined: Sun Sep 01, 2013 4:56 pm

Changed-date File Attribute using C.

Post by Anushka Sharma »

Hi,

How to get the date changed from a member of a PDS in 'C' on zOS? Can someone give some pointer?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Changed-date File Attribute using C.

Post by Anuj Dhawan »

fstat() C-language function should give you what you're looking for.

However, if you don't have ISPF statistics turned on then the time-stamp information is not kept by the file-system and the function might not be of help but then your site chose to do so. Said that, in such a case, and if you still need that info, you should touch base with your site support group.
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.
Post Reply

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

Register

Sign in

Return to “C, C++ and Java for Mainframes.”