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: 1532
Location: Chennai

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: 1532
Location: Chennai

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: 1532
Location: Chennai

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: 1532
Location: Chennai

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: 445
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: 1532
Location: Chennai

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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

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