View previous topic :: View next topic
|
Author |
Message |
hyuzen
New User
Joined: 10 Jul 2005 Posts: 58
|
|
|
|
Hi all,
Firstly I wish you a VERY HAPPY NEW YEAR to all you (So sorry for my late wish).
How can I set the date as a qualifier of a dataset shown as :
PROD.CYCLE.MMMYYDD
PROD.CYCLE.JAN0602
PROD.CYCLE.DEC0530
and is it also possible to give the date-qualifier to a dataset will be created after a job is submitted ?
Thanks in advance,
Hyuzen |
|
Back to top |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
If you are using any scheduler's they should be having those options - something like Grandlist in OPC scheduler. |
|
Back to top |
|
|
MichaelKBS
New User
Joined: 10 Jan 2006 Posts: 24 Location: Germany
|
|
|
|
Quote: |
How can I set the date as a qualifier of a dataset
|
Hi and happy new year to you, too.
Using the internal reader,
you can generate the date from system
Code: |
//STEP01 EXEC PGM=EZACFSM1
//SYSOUT DD SYSOUT=(*,INTRDR)
//SYSIN DD DATA,DLM='%%'
//XXXXXB JOB 'xx ',MSGCLASS=T,CLASS=R,NOTIFY=XXXXX,REGION=32M,
// MSGLEVEL=(1,1)
//STEPK1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//SYSUT1 DD DISP=SHR,DSN=INPUT.FB80
//SYSUT2 DD DSN=OUTPUT.D&LYYMMDD,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DSORG=PS,
// LRECL=80,
// RECFM=FB
//SYSIN DD DUMMY
%%
|
Greets,
Michael |
|
Back to top |
|
|
bigheadboy
New User
Joined: 08 Feb 2006 Posts: 4
|
|
|
|
not work, can you explain more? |
|
Back to top |
|
|
bigheadboy
New User
Joined: 08 Feb 2006 Posts: 4
|
|
|
|
seems that the job between the delimiter '%%' is not run. |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi Ramya Arun,
Ramya wrote:
Quote: |
If you are using any scheduler's they should be having those options - something like Grandlist in OPC scheduler. |
Could you please tell me like under which option I can find information wrt Grandlist in OPC. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Your delimiter = '%%' so this should be at the end of the jcl to put on the internal reader. Or......type DLM=%% |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
From the JCL reference:
12.20.6 Example of the DLM Parameter
//DD1 DD *,DLM=AA
.
.
data
.
AA
I often advice people to read the manuals Often is now. |
|
Back to top |
|
|
MichaelKBS
New User
Joined: 10 Jan 2006 Posts: 24 Location: Germany
|
|
|
|
bigheadboy wrote: |
seems that the job between the delimiter '%%' is not run. |
Hi bighead,
what error message do you get? |
|
Back to top |
|
|
bigheadboy
New User
Joined: 08 Feb 2006 Posts: 4
|
|
|
|
MichaelKBS wrote: |
bigheadboy wrote: |
seems that the job between the delimiter '%%' is not run. |
Hi bighead,
what error message do you get? |
No error message but the job between the delimiter is not run. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Bighead, please post the JCL so we can see what you've done. Also send us the results of the job which was supposed to put the jcl on the internal reader. |
|
Back to top |
|
|
|