Hi.
I need to retrieve the creation date and the last modification date of a sequential file.
I didn't find if FILEINFO or STATUS functions can retrieve these values.
Is there any other function to get the creation date and the last modification date of a seq file ?
Thanks in advance.
Retrieving info about a seq file
Moderators: chulett, rschirm, roy
Retrieving info about a seq file
Guillermo P. Barsky
Buenos Aires - Argentina
Buenos Aires - Argentina
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The STATUS statement will retrieve date and time created, modified and last accessed, and 25 other pieces of information about a sequential file.
Note that I refer specifically to the STATUS statement here, not the Status() function. Check the DataStage BASIC manual for full details. Dates and times returned are in DataStage internal format.
Note that I refer specifically to the STATUS statement here, not the Status() function. Check the DataStage BASIC manual for full details. Dates and times returned are in DataStage internal format.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
OK, not sure why I missed them. Found the last access and modification date and time fields, 13 thru 16. There's also field 17 for 'Time and date of last status change' that states it is the creation date on Windows NT, out of curiousity where is the UNIX creation date retrieved?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: