Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1632
Location: Oregon

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: 1632
Location: Oregon

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: 7314

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: 1632
Location: Oregon

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: 7314

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: 1632
Location: Oregon

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: 470
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: 1632
Location: Oregon

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
This topic is locked: you cannot edit posts or make replies. Unable to allocate Message Library in... Learncoholic CLIST & REXX 13 Fri Jun 21, 2019 5:50 pm
No new posts Different result between normal rexx ... UmeySan CLIST & REXX 2 Tue May 07, 2019 6:18 pm
No new posts SDSF REXX for DB2 command output vasanthz CLIST & REXX 2 Thu Apr 25, 2019 11:29 pm
No new posts POSITIONING THE CURSOR USING REXX MJ SHARATH CLIST & REXX 6 Tue Apr 09, 2019 10:27 am
No new posts SDSF limit access to specifc output c... David Beckham All Other Mainframe Topics 1 Thu Mar 21, 2019 10:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us