Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SDSF REXX for DFHSM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon May 11, 2015 7:16 pm    Post subject: SDSF REXX for DFHSM
Reply with quote

Hi,
I have a requirement to get DFHSM log messages from the DFHSM started task.

I am planning to use the below program to get the DFHSM log into a PS. Could you please let me know if there would be any impact to DFHSM when running this REXX. I could simply run it & try, but did not want to create issues to DFHSM.


Code:
/*REXX*/
ISFRC = ISFCALLS("ON")
ISFPREFIX = "DFHSM"
ISFOWNER  = "*"
ADDRESS SDSF "ISFEXEC DA (DELAYED"
ISFPRTDSNAME = "'WELLS.SORTOUT'"
ISFPRTDISP   = "OLD"
DO I = 1 TO ISFROWS
  /*   ISFPRTMEMBER = JOBID.I */
   ADDRESS SDSF "ISFACT DA TOKEN('"TOKEN.I"') PARM(NP XDC)"
   SAY ISFMSG
END
ISFRC = ISFCALLS("OFF")
EXIT


Regards,
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 12, 2015 12:33 pm    Post subject:
Reply with quote

Guess I am going to scream "YOLO..!!" and submit the thing xD
#YOLOTIME

Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Tue May 12, 2015 1:59 pm    Post subject: Reply to: SDSF REXX for DFHSM
Reply with quote

If the only interaction is to access a spool dataset, I don't see that direct impact on the package would be possible.

If it "goes nuts" and BFLs, such that it slows the entire machine/Universe, that's another thing...
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 12, 2015 2:07 pm    Post subject: Reply to: SDSF REXX for DFHSM
Reply with quote

Thank you Bill for the response. I am going to submit it in batch & cancel it if it appears to go haywire. Would post the outcome after testing.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Tue May 12, 2015 2:40 pm    Post subject: Reply to: SDSF REXX for DFHSM
Reply with quote

If you're submitting it in batch, you can also put a TIME= with a very small amount on.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue May 12, 2015 2:57 pm    Post subject:
Reply with quote

Thanks again Bill, I would later test the job with a CLASS which has Max-Time of 000005
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Mon May 18, 2015 11:02 pm    Post subject:
Reply with quote

When you say log messages what do you actually mean and what are you looking for? If there are ARCLOGX/Y and ARCPDOX/Y datasets in the DFHSM proc then you can process those with some of the IBM suppllied programs like ARCPRPDO and ARCPEDIT.

Check it out here:

http://www-01.ibm.com/support/knowledgecenter/#!/SSLTBW_2.1.0/com.ibm.zos.v2r1.arcf000/prntlog.htm
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed May 20, 2015 1:57 pm    Post subject:
Reply with quote

Hello Pete,

I am trying to get the primary space management completion time, secondary space management completion time, backup completion time etc..
Thank you I will also check out the article that you specified.

Regards,
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us