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: 1576
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: 1576
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: 1576
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: 1576
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: 461
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: 1576
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 REXX CGI - Hello World vasanthz All Other Mainframe Topics 4 Fri Jul 13, 2018 3:53 am
No new posts SDSF - SJ command not working properly mistah kurtz IBM Tools 5 Tue Jun 26, 2018 2:33 pm
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm

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