Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
Supportability had definitely crossed my mind, so the clarification is both timely and appreciated. Thanks! -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Peter Relson Sent: Thursday, December 3, 2020 8:22 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Caution! This message was sent from outside your organization. It probably doesn't apply to this case, but if the documentation for a service says "invoke it this way" (and I don't just mean a "recommendation" or a "suggestion") and you choose to try something else that you think is equivalent, you are in unsupported territory. Do what you will; the risk is yours (and your site's). There can be system integrity concerns with invoking something authorized in a way that it does not intend, when done by an authorized invoker. That could apply to an AC=1 program that you choose to invoke by (for example) LINK from an APF-authorized program. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
It probably doesn't apply to this case, but if the documentation for a service says "invoke it this way" (and I don't just mean a "recommendation" or a "suggestion") and you choose to try something else that you think is equivalent, you are in unsupported territory. Do what you will; the risk is yours (and your site's). There can be system integrity concerns with invoking something authorized in a way that it does not intend, when done by an authorized invoker. That could apply to an AC=1 program that you choose to invoke by (for example) LINK from an APF-authorized program. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
Thanks to everyone for the xlnt suggestions. Much appreciated, Mike -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Hochee Sent: Wednesday, December 2, 2020 2:25 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Warning! This is a fake (spoofed) message. DO NOT TRUST! Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) Thanks, Mike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
Your post reminded me of a program I wrote that would first check and set a flag as to whether it was running from TSO CP, JOB, or STC. The input parms would be different for TSO of course, and I think the JOB/STC difference was so I'd know to put the output in SYSPRINT or a WTO. Kind of nice to have one program for all 3 environments this particular function required, I thought at the time. On 12/2/2020 8:54 AM, Charles Mills wrote: When you invoke it from JCL you are invoking it with LINK or something similar. Any program that runs from PGM= should run from LINK, CALL or ATTACH provided the usual "MVS" linkage convention is honored by the invoker. (Yes, it would be technically possible, but relatively unlikely, for a program to check to see if it were the jobstep program and quit or behave differently if it were not.) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Hochee Sent: Tuesday, December 1, 2020 11:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
The IBM recommended way to run IFASMFDP is via the IEFU29 exit https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae400/ieae40040.htm Joe On Wed, Dec 2, 2020 at 1:25 AM Mike Hochee wrote: > Wondering if anyone has attempted to invoke the SMF IFASMFDP utility > (handles dumping and clearing of SMF data set logs, digital signature > validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some > of the dfp utilities allow dynamic invocation from a program, and for those > some doc is provided, however I found no equivalent doc for IFASMFDP. > (probably not a good sign) > > Thanks, > Mike > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
I've seen messages about programs that won't work properly if you LINK to them; I consider that bad form, just as I consider reentrant but not refreshable to be bad form. Fortunately, IFASMFDP is not such an offender. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Wednesday, December 2, 2020 11:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? When you invoke it from JCL you are invoking it with LINK or something similar. Any program that runs from PGM= should run from LINK, CALL or ATTACH provided the usual "MVS" linkage convention is honored by the invoker. (Yes, it would be technically possible, but relatively unlikely, for a program to check to see if it were the jobstep program and quit or behave differently if it were not.) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Hochee Sent: Tuesday, December 1, 2020 11:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
When you invoke it from JCL you are invoking it with LINK or something similar. Any program that runs from PGM= should run from LINK, CALL or ATTACH provided the usual "MVS" linkage convention is honored by the invoker. (Yes, it would be technically possible, but relatively unlikely, for a program to check to see if it were the jobstep program and quit or behave differently if it were not.) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Hochee Sent: Tuesday, December 1, 2020 11:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
Of course. Do it all the time. Look in the CBT tape for program SMFDUMP. Matthew On Wed, 2 Dec 2020 07:25:02 +, Mike Hochee wrote: >Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles >dumping and clearing of SMF data set logs, digital signature validation, etc.) >via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities >allow dynamic invocation from a program, and for those some doc is provided, >however I found no equivalent doc for IFASMFDP. (probably not a good sign) > >Thanks, >Mike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
In general, you can invoke any utility, but some require that you be APF authorized. In the basic form, R1 points to a one-word PLIST with the VL (high bet) set, and the single parameter contains a halfword length followed by a parameter string. Most utilities document and support additional parameters; if the documentation doesn't show them then they don't exist or aren't for custome use. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Mike Hochee [mike.hoc...@aspg.com] Sent: Wednesday, December 2, 2020 2:25 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Invoking IFASMFDP utility via CALL, LINK, ATTACH ? Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) Thanks, Mike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Invoking IFASMFDP utility via CALL, LINK, ATTACH ?
Wondering if anyone has attempted to invoke the SMF IFASMFDP utility (handles dumping and clearing of SMF data set logs, digital signature validation, etc.) via program invocation using CALL, LINK, or ATTACH? Some of the dfp utilities allow dynamic invocation from a program, and for those some doc is provided, however I found no equivalent doc for IFASMFDP. (probably not a good sign) Thanks, Mike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN