JCL and date variables

2014-01-07 Thread Juan Mautalen
Hi:   I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset with a member name referring to the day before job execution.   Example: If the job runs today, january 7 of 2014, it must create the member F140106

Re: JCL and date variables

2014-01-07 Thread גדי בן אבי
-MAIN@LISTSERV.UA.EDU] On Behalf Of Juan Mautalen Sent: Tuesday, January 07, 2014 4:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: JCL and date variables Hi: I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset

Re: JCL and date variables

2014-01-07 Thread Charles Mills
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Juan Mautalen Sent: Tuesday, January 07, 2014 4:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: JCL and date variables Hi: I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset

Re: JCL and date variables

2014-01-07 Thread Tony Babonas
to do this easily. Gadi -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Juan Mautalen Sent: Tuesday, January 07, 2014 4:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: JCL and date variables Hi: I have a question regarding JCL and date

Re: JCL and date variables

2014-01-07 Thread Scott Barry
On Tue, 7 Jan 2014 06:09:37 -0800, Juan Mautalen jgmauta...@yahoo.com.ar wrote: Hi: � I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset with a member name referring to the day before job execution. � Example

Re: JCL and date variables

2014-01-07 Thread Elardus Engelbrecht
Juan Mautalen wrote: I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset with a member name referring to the day before job execution. Can you not use automation software? Control-M and others, for example, can

Re: JCL and date variables

2014-01-07 Thread Paul Gilmartin
On Tue, 7 Jan 2014 06:09:37 -0800, Juan Mautalen wrote: � Example: If the job runs today, january 7 of 2014, it must create�the member�F140106 ( and not F140107). That is because the job processes information from the day before (and not from the day it is indeed running). � Is there a way to

Re: JCL and date variables

2014-01-07 Thread Vernooij, CP - SPLXM
variables Hi:   I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset with a member name referring to the day before job execution.   Example: If the job runs today, january 7 of 2014, it must create the member F140106

Re: JCL and date variables

2014-01-07 Thread Vernooij, CP - SPLXM
Sorry for the bad JCL example, this asks for last month's SMF data. Kees. -Original Message- From: Vernooij, CP - SPLXM Sent: Tuesday, January 07, 2014 16:32 To: IBM Mainframe Discussion List Subject: RE: JCL and date variables As mentioned by others, you must write such a feature

Re: JCL and date variables

2014-01-07 Thread Roberts, John J
Try doing this: (1) Run a job that does nothing except dynamically construct the JCL for the real job. The jobstep would get the system date and then do the date subtraction to calculate the member name. The generated JCL would then be submitted via the internal reader. (2) The dynamically

Re: JCL and date variables

2014-01-07 Thread Sri h Kolusu
variables Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu Hi: I have a question regarding JCL and date variables. I need to run a job daily, whose output must be written to a partitionned dataset with a member name referring to the day before job execution. Example

Re: JCL and date variables

2014-01-07 Thread Chris Hoelscher
@LISTSERV.UA.EDU] On Behalf Of ??? ?? ??? Sent: Tuesday, January 07, 2014 9:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] JCL and date variables As far as know, this is not possible using only JCL. You will have to use a separate job to either create the full job, or a small section

Re: JCL and date variables

2014-01-07 Thread Ed Finnell
ISPF has had File tailoring for 3 decades. Symbolic variables, arithmetic expressions, boolean logic, MODEL templates. Oh well, G.O.F's down and dirty In a message dated 1/7/2014 1:45:27 P.M. Central Standard Time, choelsc...@humana.com writes: Create the dataset under some generic

Re: JCL and date variables

2014-01-07 Thread Mark Jacobs
CAS and Metavance safe for all HUMANAty -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of ??? ?? ??? Sent: Tuesday, January 07, 2014 9:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] JCL and date variables As far as know

Re: JCL and date variables

2014-01-07 Thread Paul Gilmartin
On Tue, 7 Jan 2014 15:04:47 -0500, Mark Jacobs wrote: There's an IEFUJV exit available on www.cbttape.org (sorry, I don't remember the file number), that performs symbolic substitution in batch jobs, including mathematical operations on date fields. An example is; // SET LASTWEEK=ZJDATE-7. This