MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compilation date in Load module of assembler program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
k_sharma
Beginner


Joined: 14 Aug 2003
Posts: 10
Topics: 3
Location: Dallas, US

PostPosted: Fri Aug 29, 2003 3:46 am    Post subject: Compilation date in Load module of assembler program Reply with quote

Hi All
Can somebody tells me what we need to do in application program so that it displays compilation date in the load module of the progam.

What I think that we need to include some DC statements in the program with some system defined variables.

Can somebody please tell me.

Thanks In Advance.

Sharma
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Sat Aug 30, 2003 7:02 pm    Post subject: Reply with quote

Hi

I did that using AMBLIST that runs as TSO command, and parsing its output.

O.
________
Kawasaki BN125


Last edited by ofer71 on Sat Feb 05, 2011 11:03 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Sun Aug 31, 2003 3:57 am    Post subject: Reply with quote

I think you should check out the system variables documented here:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ASMVR000/E.0?DT=19950308032206

In particular, you should look at &SYSDATC and &SYSTIME.

Then, it's just a matter of experimenting.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
k_sharma
Beginner


Joined: 14 Aug 2003
Posts: 10
Topics: 3
Location: Dallas, US

PostPosted: Thu Sep 04, 2003 8:25 am    Post subject: Reply with quote

Hi Merv
Thanks you are right. It worked. I just gave &sysdate and & Systime. It gave in load module.
Just in advance I tried with &sysuid just to wanted to know that who has compiled some program. But it did't work.

Thanks
K sharma
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Fri Sep 05, 2003 3:30 pm    Post subject: Reply with quote

Well done. It's good that you're prepared to work things out.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group