$AVRS: job logs to dataset



All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.

$AVRS: job logs to dataset

Postby latimeria » Tue Feb 27, 2018 8:53 pm

Hey, I'm really stuck with getting the job logs to dataset via $AVRS utility. We have it on our mainframe, and we have an instruction on how to copy stuff to dataset: you're supposed to type 'o' next to the job name in the list:
Image
Then the screen with dataset properties is opened, and we have an example of filling it in instruction:
DISPOSITION ===> NEW (N/NEW, M/MOD OR O/OLD)
NORMAL DISP. ===> CATLG (C/CATLG OR K/KEEP)
SPACE UNITS ===> TRKS (C/CYLS OR T/TRKS)
PRIMARY QUAN. ===> 200 (IN ABOVE UNITS)
SECONDARY QUAN. ===> 5 (IN ABOVE UNITS)
DIRECTORY BLOCKS ===> (ZERO OR BLANK FOR SEQUENTIAL)
RECORD FORMAT ===> FB
RECORD LENGTH ===> 133 (MAX 255 RECFM=F, MAX 259 RECFM=V)

So I press Enter on this screen, get no errors and no messages at all, my dataset is created happily, but for some reason it comes out perfectly empty. But if I try to delete it, system says, "Data set is open". And the same instruction works just fine for the colleague next to me being applied to the very same job 5 minutes later. What am I doing wrong? I've googled through the whole google and only found a fancy brochure about $AVRS describing how cool is it. They don't seem to believe one needs the manual here. So please help! :)
There was an old person of Fife,
Who was greatly disgusted with life;
‎They sang him a ballad,
‎And fed him on salad,
Which cured that old person of Fife.
latimeria
 
Posts: 13
Joined: Wed Jan 03, 2018 5:58 pm
Has thanked: 8 times
Been thanked: 0 time

Re: $AVRS: job logs to dataset

Postby Robert Sample » Tue Feb 27, 2018 9:36 pm

So I press Enter on this screen, get no errors and no messages at all, my dataset is created happily, but for some reason it comes out perfectly empty. But if I try to delete it, system says, "Data set is open".
This is telling me that the data set is still under $AVRS control; you'll need to do something to close the data set to $AVRS (which will also write the data to the data set) -- in SDSF you use XDC line command to write output to a dataset and then close the data set when the write is complete. Have you used F1 to go through the online help to see if it tells you what to do? If not, you need to read the manuals -- and SEA does not make them available to the public, so you must go through your site to get access to them.
They don't seem to believe one needs the manual here.
So what? Find someone in your organization that will help you get at least the user's guide -- if you don't know how to do something, your inability is costing your organization money in wasted time. Or talk to SEA directly (or send an email) to get support; if your organization pays maintenance then you're entitled to support.

These users thanked the author Robert Sample for the post:
latimeria (Wed Feb 28, 2018 12:00 am)
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: $AVRS: job logs to dataset

Postby latimeria » Tue Feb 27, 2018 11:56 pm

Robert Sample wrote:This is telling me that the data set is still under $AVRS control; you'll need to do something to close the data set to $AVRS (which will also write the data to the data set) -- in SDSF you use XDC line command to write output to a dataset and then close the data set when the write is complete.

Yeah, that's what I suspected. But from what I see on my colleague's screen, he doesn't do anything special I haven't tried: he types the same 'o', sees the same clock in the bottom line of terminal, then clock is gone, and it's time to check the dataset.

Robert Sample wrote:Have you used F1 to go through the online help to see if it tells you what to do? If not, you need to read the manuals -- and SEA does not make them available to the public, so you must go through your site to get access to them.

At which screen? In SAVRS it just gives some very general information about basic commands and nothing about them working for one person and not working for another :)

So what? Find someone in your organization that will help you get at least the user's guide -- if you don't know how to do something, your inability is costing your organization money in wasted time. Or talk to SEA directly (or send an email) to get support; if your organization pays maintenance then you're entitled to support.

Well yeah, probably SEA support is the next step then. I'm just never sure I do everything right being on mainframe for a couple of months only :)
There was an old person of Fife,
Who was greatly disgusted with life;
‎They sang him a ballad,
‎And fed him on salad,
Which cured that old person of Fife.
latimeria
 
Posts: 13
Joined: Wed Jan 03, 2018 5:58 pm
Has thanked: 8 times
Been thanked: 0 time

Re: $AVRS: job logs to dataset

Postby Robert Sample » Wed Feb 28, 2018 12:33 am

At which screen? In SAVRS it just gives some very general information about basic commands and nothing about them working for one person and not working for another :)
The other person may have set an option to automatically close the data set after writing to it -- without looking at the help online or reading the manuals, you don't know if such an option exists. I have not used $AVRS for a number of years so I don't remember.

These users thanked the author Robert Sample for the post:
latimeria (Wed Feb 28, 2018 12:41 am)
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: $AVRS: job logs to dataset

Postby latimeria » Wed Feb 28, 2018 12:40 am

Robert Sample wrote:The other person may have set an option to automatically close the data set after writing to it -- without looking at the help online or reading the manuals, you don't know if such an option exists. I have not used $AVRS for a number of years so I don't remember.

Our OPC people would probably know it then, and they don't even though they use it a lot... I'll try to research in this direction anyway, thank you!
There was an old person of Fife,
Who was greatly disgusted with life;
‎They sang him a ballad,
‎And fed him on salad,
Which cured that old person of Fife.
latimeria
 
Posts: 13
Joined: Wed Jan 03, 2018 5:58 pm
Has thanked: 8 times
Been thanked: 0 time


Return to All Other Tools

 


  • Related topics
    Replies
    Views
    Last post