IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SDSF REXX for DFHSM


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1689
Location: Tiruppur, India

PostPosted: Mon May 11, 2015 7:16 pm
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: 1689
Location: Tiruppur, India

PostPosted: Tue May 12, 2015 12:33 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue May 12, 2015 1:59 pm
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: 1689
Location: Tiruppur, India

PostPosted: Tue May 12, 2015 2:07 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue May 12, 2015 2:40 pm
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: 1689
Location: Tiruppur, India

PostPosted: Tue May 12, 2015 2:57 pm
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: 490
Location: London

PostPosted: Mon May 18, 2015 11:02 pm
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:

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: 1689
Location: Tiruppur, India

PostPosted: Wed May 20, 2015 1:57 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
No new posts Calling Assembler from REXX PL/I & Assembler 5
Search our Forums:

Back to Top