Re: Mass Updates to JOB Cards for Account Code Changes
On Fri, 17 Apr 2009 07:56:06 -0500, Brown, Larry - St. Louis, MO larry.bro...@stl.usda.gov wrote: have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then Do get these manuals; you will need them. A check-out in Endevor lingo is called retrieve. //* RETRIEVE ELEMENTS //* //STP010 EXEC PROC=NDVRBRET //RETRIEVE DD DISP=OLD,DSN=your.newjcl.pds //BSTIPT01 DD * SET FROM ENVIRONMENT 'yourfromenv' SYSTEM 'yourfromsystem' SUBSYSTEM 'yourfromsubsys' STAGE 'D'. SET TO DDNAME 'RETRIEVE'. SET OPTIONS UPDATE CCID 'yourccid' SEARCH . RETRIEVE ELEMENT 'nameyourjclmember' FROM TYPE 'thejcltype'. RETRIEVE ELEMENT 'nameyourjclmember' FROM TYPE 'thejcltype'. RETRIEVE ELEMENT 'nameyourjclmember' FROM TYPE 'thejcltype'. ... /* //* The JCL proc: //NDVRBRET PROC //* //* //* * //* ENDEVOR/MVS BATCH RETRIEVE PROCESSING * //* * //* //C1BM3000 EXEC PGM=NDVRC1, // PARM=C1BM3000, // DYNAMNBR=1500, // REGION=0M //CONLIB DD DISP=SHR,DSN=SYS2.ENDVR39.CONLIB //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //* //* SORT WORK FILES * //* //SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(2,1)) //SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(2,1)) //SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(2,1)) //SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(2,1)) //* //* PANVALET SUPPORT * //* //C1TPDD01 DD UNIT=SYSDA,SPACE=(CYL,3), //DCB=(RECFM=VB,LRECL=260,BLKSIZE=6160) //C1TPDD02 DD UNIT=SYSDA,SPACE=(CYL,5), //DCB=(RECFM=VB,LRECL=260,BLKSIZE=6160) //C1TPLSIN DD UNIT=SYSDA,SPACE=(CYL,3), //DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160) //C1TPLSOU DD UNIT=SYSDA,SPACE=(CYL,5) //C1PLMSGS DD SYSOUT=* //* //* OUTPUT DATA SETS * //* //C1MSGS1 DD SYSOUT=* //C1PRINT DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=121,BLKSIZE=6171) //SYSABEND DD SYSOUT=* //SYSOUT DD SYSOUT=* //* //* REQUEST DATA SET * //* //BSTIPT01 DD DUMMY Others have indicated how to mass-change the JCL. I would use FileAid, because that is available over here and does the job quickly and easily. Then you have to add (that's what a check-in is called in Endevor lingo) them all again. A similar job as for the retrieve, but with following SCL: ADD ELEMENT 'nameyourmemberandwildcardisallowed' FROM DSNAME 'your.newjcl.pds' TO TYPE 'thejcltype' OPTIONS PROC GROUP 'theprocgroup'. Then create a package for promoting up to production. Cast and execute that. Cheers, Jantje. P.S. Should you need JCL for the package operations, just call... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Jan - thank you very much. It is just what we need. I did get access to the manuals and had started reading about SCL. Our Endevor person wasn't aware of that. She was thinking she'd still have to ID the JCL to retrieve from the panels. Thanks again - this helps a lot! Larry Brown -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Mass Updates to JOB Cards for Account Code Changes
We have been tasked to update the account codes for all our production and development jobs. Endevor is used for configuration management. Have not talked to our configuration (Endevor) person yet, but she is fairly new to Endevor, so may not be able to help a lot. Also, I don't have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Then run another batch job to return the jobs to Endevor. I'm not an Endevor user, so sorry for not knowing the proper terms for 'checking out', and 'returning'. Anyway, does this sound doable? I know folks have done mass updates to JCL, but not sure about having to work with Endevor. I've done mass updates on VM/CMS files in the past, not MVS though. Checked the archives for Mass Updates, Endevor and Account Code, but didn't see anything helpful right away. Thanks in Advance, Larry Brown USDA, Rural Development St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Larry, I don't know about Endevor, or how it stores JCL. We've done mass updates to JCL via batch (with a REXX, as you stated) and that has been extremely effective. Our ESP processing system picked up the changes to the master JCL libraries on it's next schedule build. Does Endevor work that way? If it's just PDS/PDSE members you're updating this should be a snap. HTH, Gary Diehl Systems Administration Water seeks it's own level - Aristotle -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Brown, Larry - St. Louis, MO Sent: Friday, April 17, 2009 7:56 AM To: IBM-MAIN@bama.ua.edu Subject: Mass Updates to JOB Cards for Account Code Changes We have been tasked to update the account codes for all our production and development jobs. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
-Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Brown, Larry - St. Louis, MO Sent: Friday, April 17, 2009 7:56 AM To: IBM-MAIN@bama.ua.edu Subject: Mass Updates to JOB Cards for Account Code Changes We have been tasked to update the account codes for all our production and development jobs. Endevor is used for configuration management. Have not talked to our configuration (Endevor) person yet, but she is fairly new to Endevor, so may not be able to help a lot. Also, I don't have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Then run another batch job to return the jobs to Endevor. I'm not an Endevor user, so sorry for not knowing the proper terms for 'checking out', and 'returning'. Anyway, does this sound doable? I know folks have done mass updates to JCL, but not sure about having to work with Endevor. I've done mass updates on VM/CMS files in the past, not MVS though. Checked the archives for Mass Updates, Endevor and Account Code, but didn't see anything helpful right away. SNIP We use Endevor here. We run it in the penalty box (low powered CEC), we use batch processing rather than online (thru TSO). So, yes, you can check out all the members you want (JCL, MACRO, etc.) in a batch run. You can then update them however you like, and then via batch check them all back in and depending on how things are done, promote them from the initial stage to the production stage. Regards, Steve Thompson -- Opinions expressed by this poster may not reflect those of poster's employer. -- -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Larry, Are you familiar with CPPUPDTE, an old MVS utility specifiaclly for mass updates. I'm not sure how well documented it is any more, maybes someone else has some doc in it. I will have to scrape the JCL from work and e-mail it around about to get it to you, so it may take a bit, but I'll get you a sample. It is all dependent upon your doing this process outside of Endevor, so keep that in mind. Joe On Fri, Apr 17, 2009 at 8:56 AM, Brown, Larry - St. Louis, MO larry.bro...@stl.usda.gov wrote: We have been tasked to update the account codes for all our production and development jobs. Endevor is used for configuration management. Have not talked to our configuration (Endevor) person yet, but she is fairly new to Endevor, so may not be able to help a lot. Also, I don't t have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Then run another batch job to return the jobs to Endevor. I'm not an Endevor user, so sorry for not knowing the proper terms for 'checking out', and 'returning'. Anyway, does this sound doable? I know folks have done mass updates to JCL, but not sure about having to work with Endevor. I've done mass updates on VM/CMS files in the past, not MVS though. Checked the archives for Mass Updates, Endevor and Account Code, but didn't see anything helpful right away. Thanks in Advance, Larry Brown USDA, Rural Development St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- Joe Aulph, Florida Dept. of Children Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Thanks Steve, that's what I was hoping to here. Larry Brown -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Thompson, Steve Sent: Friday, April 17, 2009 8:25 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Mass Updates to JOB Cards for Account Code Changes -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Brown, Larry - St. Louis, MO Sent: Friday, April 17, 2009 7:56 AM To: IBM-MAIN@bama.ua.edu Subject: Mass Updates to JOB Cards for Account Code Changes We have been tasked to update the account codes for all our production and development jobs. Endevor is used for configuration management. Have not talked to our configuration (Endevor) person yet, but she is fairly new to Endevor, so may not be able to help a lot. Also, I don't have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Then run another batch job to return the jobs to Endevor. I'm not an Endevor user, so sorry for not knowing the proper terms for 'checking out', and 'returning'. Anyway, does this sound doable? I know folks have done mass updates to JCL, but not sure about having to work with Endevor. I've done mass updates on VM/CMS files in the past, not MVS though. Checked the archives for Mass Updates, Endevor and Account Code, but didn't see anything helpful right away. SNIP We use Endevor here. We run it in the penalty box (low powered CEC), we use batch processing rather than online (thru TSO). So, yes, you can check out all the members you want (JCL, MACRO, etc.) in a batch run. You can then update them however you like, and then via batch check them all back in and depending on how things are done, promote them from the initial stage to the production stage. Regards, Steve Thompson -- Opinions expressed by this poster may not reflect those of poster's employer. -- -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Brown, Larry wrote: We have been tasked to update the account codes for all our production and development jobs. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Try CPPUPDTE from IBM for mass changes in PDS. You can run with 'CHECK' to scan proposed changes and than retry with 'UPDATE' to apply changes. Crude, but it works. :-) Otherwise, you could write a REXX program while using ISPF services to search for membernames in a PDS. You can then use two STEM variables. One STEM variable for comparision and another STEM variable to use for your changes. I've done similar REXX jobs for mass updates, for example, replacing short words with meaningful descriptions in reports. Then run another batch job to return the jobs to Endevor. Why? Just do changes on original jobs and then let Endevor pick it up as usual. HTH! Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Joe, I'm not familiar with that. I see several google hits though, so will start reading. Would appreciate the sample JCL - thanks a bunch. Larry Brown USDA, Rural Development St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Aulph Sent: Friday, April 17, 2009 8:18 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Mass Updates to JOB Cards for Account Code Changes Larry, Are you familiar with CPPUPDTE, an old MVS utility specifiaclly for mass updates. I'm not sure how well documented it is any more, maybes someone else has some doc in it. I will have to scrape the JCL from work and e-mail it around about to get it to you, so it may take a bit, but I'll get you a sample. It is all dependent upon your doing this process outside of Endevor, so keep that in mind. Joe -- Joe Aulph, Florida Dept. of Children Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Brown, Larry - St. Louis, MO wrote: Joe, I'm not familiar with that. I see several google hits though, so will start reading. Would appreciate the sample JCL - thanks a bunch. Start with http://www-03.ibm.com/systems/z/os/zos/installation/sampdisc.html I could give you a direct link to a text document (reachable by above link anyway) with documentation and JCL, but I think this above page is the correct page to start, because of terms and conditions. HTH! Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Larry, Is the new account code the same length as the old one? If it is shorter, there should be no big deal. If it is longer, you'll need to know things didn't break. I did this change in a previous life back in the nineties and still have my REXX code available if you want to contact me off list. CPPUPDTE is fine for in place updating but you'll want something more sophisticated than that (or PDSMAN's change facility) depending on what your change does to the job cards. Hope this helps, Jim Horne Systems Programmer Large Systems Engineering Messaging NC41T Lowe's Companies, Inc. 1000 Lowe's Boulevard Mooresville, NC 704-758-5354 jim.ho...@lowes.com NOTICE: All information in and attached to the e-mail(s) 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). Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Thanks Elardus, Joe, and Steve! We should be able to get something going with the info you provided. Larry Brown TSSCD/TSCMB USDA, Rural Development 4300 Goodfellow Blvd. Bldg 104, FC-433, Post-J32 St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Elardus Engelbrecht Sent: Friday, April 17, 2009 8:57 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Mass Updates to JOB Cards for Account Code Changes Brown, Larry - St. Louis, MO wrote: Joe, I'm not familiar with that. I see several google hits though, so will start reading. Would appreciate the sample JCL - thanks a bunch. Start with http://www-03.ibm.com/systems/z/os/zos/installation/sampdisc.html I could give you a direct link to a text document (reachable by above link anyway) with documentation and JCL, but I think this above page is the correct page to start, because of terms and conditions. HTH! Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Larry, I use this in one of two modes 1) CHECK 2) UPDATE simple enough, see the parm on the EXEC card. Somewhat like the difference between and APPLY CHECK and an APPLY. The SYSIN specifies the the data that is to be found and the vaule you want it changed to. //yourjobname JOB (x,'SUITE ??'),'Mr. Programmer', //CLASS=z,MSGCLASS=y, //REGION=6144K,NOTIFY=Whomever /*JOBPARM SYSAFF=Your sys // //* THIS UTILITY REQUIRES THE EXISTANCE OF A $$COIBM MEMBER IN THE //* TARGET LIBRARY. THE ENTIRE MEMBER IS DEFINED AS FOLLOWS: //* COL 1 =*** $$$COIBM // //STEP01 EXEC PGM=CPPUPDTE,PARM=UPDATE CHECK //SYSPRINT DD SYSOUT=* //@INSTLIB DD DSN=SYSI.TMON.INSTLIB,DISP=SHR //SYSINDD * Old-dataNew-value /* // Entire contents of $$COIBM member of target PDS, one line and one line only. *** $$$COIBM On Fri, Apr 17, 2009 at 9:42 AM, Brown, Larry - St. Louis, MO larry.bro...@stl.usda.gov wrote: Joe, I'm not familiar with that. I see several google hits though, so will start reading. Would appreciate the sample JCL - thanks a bunch. Larry Brown USDA, Rural Development St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Aulph Sent: Friday, April 17, 2009 8:18 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Mass Updates to JOB Cards for Account Code Changes Larry, Are you familiar with CPPUPDTE, an old MVS utility specifiaclly for mass updates. I'm not sure how well documented it is any more, maybes someone else has some doc in it. I will have to scrape the JCL from work and e-mail it around about to get it to you, so it may take a bit, but I'll get you a sample. It is all dependent upon your doing this process outside of Endevor, so keep that in mind. Joe -- Joe Aulph, Florida Dept. of Children Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- Joe Aulph, Florida Dept. of Children Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Mass Updates to JOB Cards for Account Code Changes
Larry, if that JCL is all in PDS's, you might try the PDSUPDTE program from the CBTTAPE site. It's fast, easy to use and relatively effective. Blowing my own horn here; I wrote it. :-) - Brown, Larry - St. Louis, MO wrote: We have been tasked to update the account codes for all our production and development jobs. Endevor is used for configuration management. Have not talked to our configuration (Endevor) person yet, but she is fairly new to Endevor, so may not be able to help a lot. Also, I don't have access to Endevor manuals - yet. So, I am assuming (hoping) we can check out jobs en mass from Endevor some how with a batch job. And then come up with with something (REXX EXEC maybe) to change the job cards to reflect the correct account code. Then run another batch job to return the jobs to Endevor. I'm not an Endevor user, so sorry for not knowing the proper terms for 'checking out', and 'returning'. Anyway, does this sound doable? I know folks have done mass updates to JCL, but not sure about having to work with Endevor. I've done mass updates on VM/CMS files in the past, not MVS though. Checked the archives for Mass Updates, Endevor and Account Code, but didn't see anything helpful right away. Thanks in Advance, Larry Brown USDA, Rural Development St. Louis, MO 63120 (314)457-4939 larry.bro...@stl.usda.gov -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- Rick -- Remember that if you’re not the lead dog, the view never changes. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html