Re: Starting a started task from a started task
This is not meant to market the product, just to tell you what it does pertaining to this question. Actually one of the functions (of hundreds of them) of our SyzCMD/z product is to do this type of thing. The started task (any started task) can execute a SyzCMD/z script that can start any number of tasks and keeps track of their execution. So, you could be in STC-A, start STC-B and STC-C, wait for STC-B to end and instantaneously start STC-D. Each of those other started tasks can start (or stop) any number of other tasks and wait for them to end (or just get to a specific step, or time of day or any of hundreds of other potential possibilities), and then do "something" about it, (start a task, stop some other task, pretty much anything that a "real" operator could do, with the added advantage that you can interrogate all of the other tasks in the system at any time for (almost) any of their attributes. Brian The SyzCMD/z product is at www.SyzygyInc.com/SyzCMDz.htm -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Starting a started task from a started task
this _may_ work: Include a dummy dataset with DISP=OLD in the JCL for both started tasks. Start them one after the other in the order you want them to run or if you have an automated operations tool, start them a second apart or more - whatever you are comfortable with. The DISP=OLD will cause an enqueue and prevent the second one from starting until the other one finishes. Depending upon your shop's parameters the operators may or may not see a message about the second started task waiting for dataset. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Starting a started task from a started task
On Thu, 14 Jan 2021 14:57:47 + "Horne, Jim" wrote: :>This may sound like a stupid question but is there a way to start a second started task from a running one when the currently running one completes. I know how to submit a batch job from a final step of a started task but I don't know how to do the same sort of thing to initiate another started task. I will ask the question that seems to have been missed. What are you trying to do? Why specifically start a new STC? What is the business case? Why not conditionally execute the next step? -- Binyamin Dissen http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: Starting a started task from a started task
Thanks! I had not thought about CONSOLE. That will do the trick just fine! Jim Horne -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz If you're authorized you can issue the command with MGCRE. For REXX scripts CONSOLE is convenient. You need the appropriate permissions. NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: Starting a started task from a started task
If you're authorized you can issue the command with MGCRE. For REXX scripts CONSOLE is convenient. You need the appropriate permissions. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Horne, Jim [jim.s.ho...@lowes.com] Sent: Thursday, January 14, 2021 10:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: Starting a started task from a started task And that's the problem, in a nutshell. The reason I am looking to start another STC is that initiators may be down. If I knew initiators would be up, I would just submit a batch job and call it done. In fact, I do that today but want to avoid problems when initiators are not available. Jim Horne R.S. wrote: It depends. The simplest way is to use JCL facilities. Your started task can have last step, which can submit batch job, which in turn can issue a COMMAND, the command can be START STC. A little bit Ruby Goldberg, but it works. Other way is to use one of the tools from CBT to issue a command. In that scenario you last step in started task run the program. Program parameters contain you command - START STC. I would also think about SystemREXX, but I have to solution here. NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. -- 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: [EXTERNAL] Re: Starting a started task from a started task
And that's the problem, in a nutshell. The reason I am looking to start another STC is that initiators may be down. If I knew initiators would be up, I would just submit a batch job and call it done. In fact, I do that today but want to avoid problems when initiators are not available. Jim Horne R.S. wrote: It depends. The simplest way is to use JCL facilities. Your started task can have last step, which can submit batch job, which in turn can issue a COMMAND, the command can be START STC. A little bit Ruby Goldberg, but it works. Other way is to use one of the tools from CBT to issue a command. In that scenario you last step in started task run the program. Program parameters contain you command - START STC. I would also think about SystemREXX, but I have to solution here. NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Starting a started task from a started task
XCTL is not what the OP asked for. Jim needs to issue a start. I don't know his authorization status, environment or language. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Mike Schwab Sent: Thursday, January 14, 2021 10:05 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Starting a started task from a started task https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa900/iea3a9_Description26.htm XCTL or XCTLX. Branches to another program. Returns to the caller of the program issuing XCTL(X). On Thu, Jan 14, 2021 at 8:58 AM Horne, Jim wrote: > > Hi all, > > This may sound like a stupid question but is there a way to start a second > started task from a running one when the currently running one completes. I > know how to submit a batch job from a final step of a started task but I > don't know how to do the same sort of thing to initiate another started task. > > I appreciate any help I can get, > Jim Horne > > NOTICE: All information in and attached to the e-mails below may be > proprietary, confidential, privileged and otherwise protected from improper > or erroneous disclosure. If you are not the sender's intended recipient, you > are not authorized to intercept, read, print, retain, copy, forward, or > disseminate this message. If you have erroneously received this > communication, please notify the sender immediately by phone (704-758-1000) > or by e-mail and destroy all copies of this message electronic, paper, or > otherwise. By transmitting documents via this email: Users, Customers, > Suppliers and Vendors collectively acknowledge and agree the transmittal of > information via email is voluntary, is offered as a convenience, and is not a > secured method of communication; Not to transmit any payment information E.G. > credit card, debit card, checking account, wire transfer information, > passwords, or sensitive and personal information E.G. Driver's license, DOB, > social security, or any other information the user wishes to remain > confidential; To transmit only non-confidential information such as plans, > pictures and drawings and to assume all risk and liability for and indemnify > Lowe's from any claims, losses or damages that may arise from the transmittal > of documents or including non-confidential information in the body of an > email transmittal. Thank you. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? -- 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: Starting a started task from a started task
W dniu 14.01.2021 o 15:57, Horne, Jim pisze: Hi all, This may sound like a stupid question but is there a way to start a second started task from a running one when the currently running one completes. I know how to submit a batch job from a final step of a started task but I don't know how to do the same sort of thing to initiate another started task. It depends. The simplest way is to use JCL facilities. Your started task can have last step, which can submit batch job, which in turn can issue a COMMAND, the command can be START STC. A little bit Ruby Goldberg, but it works. Other way is to use one of the tools from CBT to issue a command. In that scenario you last step in started task run the program. Program parameters contain you command - START STC. I would also think about SystemREXX, but I have to solution here. HTH -- Radoslaw Skorupka Lodz, Poland == Jeśli nie jesteś adresatem tej wiadomości: - powiadom nas o tym w mailu zwrotnym (dziękujemy!), - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś na dysku). Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać tylko adresat. Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać karze. mBank S.A. z siedzibą w Warszawie, ul. Prosta 18, 00-850 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 01.01.2020 r. wynosi 169.401.468 złotych. Jesteśmy administratorem twoich danych osobowych, które podałeś w związku z prowadzoną z nami korespondencją. Przetwarzamy te dane dla celów, które wynikają z przedmiotu korespondencji, w tym związanych z prowadzoną działalnością bankową. Więcej informacji o tym jak chroniony i przetwarzamy dane osobowe znajdziesz w Pakietach RODO (w wersji polskiej i angielskiej), które są na www.mbank.pl/rodo If you are not the addressee of this message: - let us know by replying to this e-mail (thank you!), - delete this message permanently (including all the copies which you have printed out or saved). This message may contain legally protected information, which may be used exclusively by the addressee.Please be reminded that anyone who disseminates (copies, distributes) this message or takes any similar action, violates the law and may be penalised. mBank S.A. with its registered office in Warsaw, ul. Prosta 18, 00-850 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital City of Warsaw, 12th Commercial Division of the National Court Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 169.401.468 as at 1 January 2020. We are the controller of your personal data, which you provided in connection with correspondence with us. We process your data for purposes resulting from the subject of correspondence, including those related to the banking services. More information on how we protect and process personal data can be found in the GDPR Packages (in English and Polish), which are on www.mbank.pl/rodo. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Starting a started task from a started task
Started tasks are started by a console command START (S ). There are more variations to the command, but this is the basic one. If you want the same task run in parallel with the same tak, add a name (S .yyy). ITschak ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS, x/Linux & IBM I **| z/VM coming soon * On Thu, Jan 14, 2021 at 5:06 PM Mike Schwab wrote: > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa900/iea3a9_Description26.htm > XCTL or XCTLX. Branches to another program. Returns to the caller of > the program issuing XCTL(X). > > On Thu, Jan 14, 2021 at 8:58 AM Horne, Jim wrote: > > > > Hi all, > > > > This may sound like a stupid question but is there a way to start a > second started task from a running one when the currently running one > completes. I know how to submit a batch job from a final step of a started > task but I don't know how to do the same sort of thing to initiate another > started task. > > > > I appreciate any help I can get, > > Jim Horne > > > > NOTICE: All information in and attached to the e-mails below may be > proprietary, confidential, privileged and otherwise protected from improper > or erroneous disclosure. If you are not the sender's intended recipient, > you are not authorized to intercept, read, print, retain, copy, forward, or > disseminate this message. If you have erroneously received this > communication, please notify the sender immediately by phone (704-758-1000) > or by e-mail and destroy all copies of this message electronic, paper, or > otherwise. By transmitting documents via this email: Users, Customers, > Suppliers and Vendors collectively acknowledge and agree the transmittal of > information via email is voluntary, is offered as a convenience, and is not > a secured method of communication; Not to transmit any payment information > E.G. credit card, debit card, checking account, wire transfer information, > passwords, or sensitive and personal information E.G. Driver's license, > DOB, social security, or any other information the user wishes to remain > confidential; To transmit only non-confidential information such as plans, > pictures and drawings and to assume all risk and liability for and > indemnify Lowe's from any claims, losses or damages that may arise from the > transmittal of documents or including non-confidential information in the > body of an email transmittal. Thank you. > > > > -- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > -- > Mike A Schwab, Springfield IL USA > Where do Forest Rangers go to get away from it all? > > -- > 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: Starting a started task from a started task
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa900/iea3a9_Description26.htm XCTL or XCTLX. Branches to another program. Returns to the caller of the program issuing XCTL(X). On Thu, Jan 14, 2021 at 8:58 AM Horne, Jim wrote: > > Hi all, > > This may sound like a stupid question but is there a way to start a second > started task from a running one when the currently running one completes. I > know how to submit a batch job from a final step of a started task but I > don't know how to do the same sort of thing to initiate another started task. > > I appreciate any help I can get, > Jim Horne > > NOTICE: All information in and attached to the e-mails below may be > proprietary, confidential, privileged and otherwise protected from improper > or erroneous disclosure. If you are not the sender's intended recipient, you > are not authorized to intercept, read, print, retain, copy, forward, or > disseminate this message. If you have erroneously received this > communication, please notify the sender immediately by phone (704-758-1000) > or by e-mail and destroy all copies of this message electronic, paper, or > otherwise. By transmitting documents via this email: Users, Customers, > Suppliers and Vendors collectively acknowledge and agree the transmittal of > information via email is voluntary, is offered as a convenience, and is not a > secured method of communication; Not to transmit any payment information E.G. > credit card, debit card, checking account, wire transfer information, > passwords, or sensitive and personal information E.G. Driver's license, DOB, > social security, or any other information the user wishes to remain > confidential; To transmit only non-confidential information such as plans, > pictures and drawings and to assume all risk and liability for and indemnify > Lowe's from any claims, losses or damages that may arise from the transmittal > of documents or including non-confidential information in the body of an > email transmittal. Thank you. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Starting a started task from a started task
Hi all, This may sound like a stupid question but is there a way to start a second started task from a running one when the currently running one completes. I know how to submit a batch job from a final step of a started task but I don't know how to do the same sort of thing to initiate another started task. I appreciate any help I can get, Jim Horne NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN