View previous topic :: View next topic
|
Author |
Message |
lanand_hps
New User
Joined: 05 Dec 2007 Posts: 82 Location: chennai
|
|
|
|
Hi,
My requirement is to open the load file using a macro and get the timestamp.
Files with RECFM=U attributes always open in browse mode i guess and using macros do not go with browse operation.
ISREDIT F ALL command also does not work when the file is in browse mode.
Please give your thoughts.
Thanks,
Anand |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1314 Location: Vilnius, Lithuania
|
|
|
|
My thoughts?
Another twit with a unexplained requirement trying to do something without using the proper tools... |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
Anand,
Start with AMBLIST utility to extract the timestamp.
I don't think you can acheive it by directly reading the load module. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
If you browse the member and issue the HEX On command . You will be able to see the date . It is a field 3 bytes long and looks something like this:
030
41F
day 310 year 2004 |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
Agreed. But thats manual stuff. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Just as an aside, REXX is unable to handle RECFM=U or RECFM=VBS datasets. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Quote: |
But thats manual stuff.
|
True my point was just that if the data is there and can be obtained manually it must be possible to automate the process. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2593 Location: Silicon Valley
|
|
|
|
Quote: |
True my point was just that if the data is there and can be obtained manually it must be possible to automate the process. |
Basically true, but you have to start out by using a process that can be automated. You cannot automate it using Browse. |
|
Back to top |
|
|
lanand_hps
New User
Joined: 05 Dec 2007 Posts: 82 Location: chennai
|
|
|
|
My requirement is to check if my code is in sync with production code.
(Like audit package option in changeman, I wanted an option in endevor. Posted in CA forum. no replies yet).
As an alternate way, i thought of writing a tool which will trigger daily job to check if the load timestamp has changed. Seems it is not possible to check it in brose mode.
Thanks for your thoughts frnds.. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2593 Location: Silicon Valley
|
|
|
|
Quote: |
Seems it is not possible to check it in brose mode. |
Correct, it is not possible in brose mode, nor is it possible in Browse mode.
But you can do it with AMBLIST and using VIEW to examine the AMBLIST output.
You have to have the expected results first, before you can know if the date changed. And if you are going that far already, you might as well see if the size of the module changed. |
|
Back to top |
|
|
kgrimes
New User
Joined: 28 Sep 2009 Posts: 22 Location: Columbia, SC
|
|
|
|
The Endevor footprint extract program (BC1PFOOT) can be used to extract Endevor footprints from an Endevor footprinted dataset. See the Endevor Footprints guide for more information. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
/lightly aggressive on/
Quote: |
My requirement is to check if my code is in sync with production code |
it is either production code or it is not production code.
if it is your code, it is not production code.
If you want to insure that what you are executing is production code,
execute production code
this complete exercise is a waste of time;
the only reason the poster feels the need for this 'check'
is because the poster does not understand Production-code-control.
I have worked in shops where the source was the only thing
that was moved to the production environment.
There everything was again compiled/linked/bound (if db2).
so, timestamps were useless when attempting to compare to 'test'.
the only way to insure that 'your code' is in-sync with 'production code'
is to use production code, and only change what you have to change.
/lightly aggressive off/ |
|
Back to top |
|
|
kgrimes
New User
Joined: 28 Sep 2009 Posts: 22 Location: Columbia, SC
|
|
|
|
The original request was looking for a method to read an Endevor footprint from an Endevor controlled load module.
Quote: |
My requirement is to open the load file using a macro and get the timestamp. |
Therefore one could use the Endevor utility to compare Endevor footprints and determine if the production code has been modified.
Regards,
Kevin
[/quote] |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2593 Location: Silicon Valley
|
|
|
|
Quote: |
The original request was looking for a method to read an Endevor footprint from an Endevor controlled load module. |
Strange, no one mentioned Endevor except you.
> I stand corrected... did not read the thread well |
|
Back to top |
|
|
kgrimes
New User
Joined: 28 Sep 2009 Posts: 22 Location: Columbia, SC
|
|
|
|
I'm new to the IBM Mainframe forum and I was just trying to help someone who had a question. Not trying to cause any trouble... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Not trying to cause any trouble... |
You caused no trouble
As mentioned, 'twas just a misunderstanding.
Please continue. . . |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2593 Location: Silicon Valley
|
|
|
|
Quote: |
Not trying to cause any trouble... |
I was not trying to cause any trouble either. :-) Just a misunderstanding.
Welcome to the forum. |
|
Back to top |
|
|
|