View previous topic :: View next topic
|
Author |
Message |
Robledo
New User
Joined: 25 Mar 2021 Posts: 4 Location: España
|
|
|
|
Hi! This is my first post in Forum!
I have a question:
I have a JCL:
Code: |
//*** JOB (BTCHWLM0,00693,00000001,C000),
// USER=CECRACF,
// CLASS=D,MSGCLASS=L,REGION=0M,MSGLEVEL=(1,1),COND=(3,LT),
// SCHENV=***
// SET FECHA=&CMMYY
/*JOBPARM S=ANY
//***----------------------------------------------------------------***
//***----------------------------------------------------------------***
//OUT1 OUTPUT USERDATA=('TO:***@***.ES',
// 'TO:***@***.COM','TO:***@***.COM',
// 'TO:***@***.COM','TO:***@***.COM',
// 'CC:***@***.COM','CC:***@***.COM',
// 'SUBJECT: Cosas interesantes [b][u]Marzo 2021[/u][/b]' ),
// MAILFROM='***@***.COM'
//***----------------------------------------------------------------*** |
Mission: I want changes "Marzo 2021" to system date but month=-1
Example: Today is: 03/21 (MMYY) Date to JCL: 02/21
...and changes MM to January, february...etc
Question: Is possible into JCL?
I know only "&CMMYY" , I´m not developper hehehe.
I know with REXX but I need an other data set... I want into JCL.
Thanks you very much and sorry for my english, I´m Spanish hehe |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2025 Location: USA
|
|
|
|
Definitely, in JCL nothing like this is possible. JCL is like another planet, from this point of view.
You cannot brew a cup of coffee using, for instance, a dishwasher. Can you?
You can generate a different JCL by using any other tool you know. JCL is just a text; can be handled by 100500 existing text-processing tools.
P.S.
If “you are not developer, hehe” then: who are you??? And why do you need to visit this forum? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Hi Robledo
Welcome aboard!!!
What scheduler do you use? |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
Robledo, You can try EZACFSM1 to use system symbolic paramters or use DFSORT or other modules to create customized (OUT1 statements and the complete JCL ) and using INTRDR submit that JCL Or use REXX way as you know.
Since you are not a Developer other option might be Scheduling as asked already or talk to system people to see if they can help to define any system symbolic the way you want. |
|
Back to top |
|
|
Robledo
New User
Joined: 25 Mar 2021 Posts: 4 Location: España
|
|
|
|
sergeyken wrote: |
Definitely, in JCL nothing like this is possible. JCL is like another planet, from this point of view.
You cannot brew a cup of coffee using, for instance, a dishwasher. Can you?
You can generate a different JCL by using any other tool you know. JCL is just a text; can be handled by 100500 existing text-processing tools.
P.S.
If “you are not developer, hehe” then: who are you??? And why do you need to visit this forum? |
Thanks you very much for your answer! "a cup of coffee using a dishwasher", I understood xDD
I´m a Mainframe Operator, in spain that position does not do many things... but i like study JCL, Rexx and Cobol |
|
Back to top |
|
|
Robledo
New User
Joined: 25 Mar 2021 Posts: 4 Location: España
|
|
|
|
Pandora-Box wrote: |
Hi Robledo
Welcome aboard!!!
What scheduler do you use? |
Hi Pandora!!
Thanks you very much! Scheduler... MVS/TN3270? Is this? hehehe |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Re 'What scheduler do you use?' I am pretty sure that Pandora-box means which job scheduler your company uses,i.e. IBM Tivoli Workload Scheduler (&CMMYY indicates that this is the case). If the job is a production job then it supposedly is submitted through a job scheduler and you should contact your scheduler team. If it is your own then you have a couple of options:
- Generate JCL using REXX, you can write the job to the internal reader.
- Generate JCL using ISPF Skeleton Services, write the job to internal reader.
- ISPF edit macro.
But the bottom line is that you must generate the JCL with the changed values. |
|
Back to top |
|
|
Robledo
New User
Joined: 25 Mar 2021 Posts: 4 Location: España
|
|
|
|
Rohit Umarjikar wrote: |
Robledo, You can try EZACFSM1 to use system symbolic paramters or use DFSORT or other modules to create customized (OUT1 statements and the complete JCL ) and using INTRDR submit that JCL Or use REXX way as you know.
Since you are not a Developer other option might be Scheduling as asked already or talk to system people to see if they can help to define any system symbolic the way you want. |
Hi Rohit! Thanks you very much for your answer!
I can´t talk with system people by the moment because an operator can´t made this, hehehe |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Topic locked |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
Robledo wrote: |
Rohit Umarjikar wrote: |
Robledo, You can try EZACFSM1 to use system symbolic paramters or use DFSORT or other modules to create customized (OUT1 statements and the complete JCL ) and using INTRDR submit that JCL Or use REXX way as you know.
Since you are not a Developer other option might be Scheduling as asked already or talk to system people to see if they can help to define any system symbolic the way you want. |
Hi Rohit! Thanks you very much for your answer!
I can´t talk with system people by the moment because an operator can´t made this, hehehe |
Sorry we can not help you any further here since you are not a developer nor knows about scheduling. Good Luck 👍 |
|
Back to top |
|
|
|