Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get the Compile Date and Time...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: New Delhi

PostPosted: Thu Jun 04, 2009 7:31 pm    Post subject: How to get the Compile Date and Time...
Reply with quote

Could any one help me how to get the compile Time and Date using the new PL/I compiler (5655-H31 IBM(R) Enterprise PL/I for z/OS V3.R8.M0).. Earlier we were using the "COMPILE" to get compile date and time with the old compiler. Using COMPILE with the new compiler I am getting the following warning messages..
Code:
IBM1198I W         28  A null argument list is assumed for COMPILE.
IEW2454W 9203 SYMBOL COMPILE UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

and in the output I am getting NULL values in compilation date and time fields.
In the program it was declared as
Code:
DCL       COMPILE           ENTRY RETURNS (CHAR(21) VAR);

and some structures were declared to capture the compilation date and time from this.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Jun 04, 2009 7:45 pm    Post subject: Reply to: How to get the Compile Date and Time...
Reply with quote

search the manuals for COMPILEDATE and COMPILETIME
Back to top
View user's profile Send private message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: New Delhi

PostPosted: Thu Jun 04, 2009 9:50 pm    Post subject:
Reply with quote

Thanks Enroco .. I copied the following code in SRN(where I need the change)
Code:
%DECLARE COMP_DATE CHAR; %COMP_DATE=QUOTE(COMPILEDATE); PUT EDIT (COMP_DATE) (A);

as per manual to display the compilation date and time.Activated both sub and main programs.
But when I ran through the JCL the job abended with the following errors
Code:
CEE3201S The system detected an operation exception (System
Completion Code=0C1).
CEE3250C The system or user abend U 099 R=NULL     was issued.                 
         From entry point _ON_Begin_1413_Blk_2 at compile unit offset +000001A0
         103094C8.                                                             


Would be really helpful if you have any example to use it.
Back to top
View user's profile Send private message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: New Delhi

PostPosted: Mon Jun 08, 2009 9:29 pm    Post subject:
Reply with quote

I am able to get the time and date by coding the following lines..
Code:

     %DECLARE COMP_TIME CHAR;         
     %COMP_TIME=QUOTE(COMPILETIME);   
    PUT SKIP LIST('COMP_TIME',COMP_TIME);

Below the output I got
Code:

COMP_TIME                8.JUN.09 16.55.11
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 3 Fri Sep 22, 2017 6:00 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us