> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of JONES, CHARLIE
> Sent: Wednesday, June 29, 2005 3:50 PM
> To: [email protected]
> Subject: SVC 99 Question (sort of) File Creation Date Needed via ASM
> 
> 
> I have an assembler routine that reads a series of files and extracts
> the report creation date
> 
> from the report header.  It just occurred to me that the 
> report creation
> date is the same as 
> 
> the file creation date.  Is there a slick way, knowing the 
> file name in
> advance, to dynamically
> 
> acquire the file creation date?  The SVC 99 Verb Code 07 does not seem
> to provide this info.
> 
>  
> 
> This solution, if available, would save me from having to 
> open all these
> files and perform an I-O
> 
> operation.  I need to be able to do this via an assembler routine.
> 
>  
> 
> Charlie

You can use the OBTAIN macro to read the format 1 DSCB. That contains
the creation date. Macro IECSDSL1 in SYS1.MODGEN will map the DSCB
records from the VTOC.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to