priyanka.c
New User
Joined: 25 Jun 2007 Posts: 1 Location: Bangalore
|
|
|
|
Hi,
My requirement is to NDM a file to another region everyday. The filename has to be appended with the julian date for the current day.
HLQ1.HLQ2.XYZ.JD177
Is there a way to create a dynamic filename during the NDM process? Pass the Julian date parameter through the job maybe?
This is how the NDM parameters look like.
SIGNON -
ESF=YES
SUBMIT PROC=PRC2 -
NEWNAME=PRC -
&SNODE=DTST -
PNODE=ABC -
CASE=YES -
&FROMDSN='HLQ1.HLQ2.XYZ.****' -
&FDISP=(SHR) -
&FDCB=DCB=(DSORG=PS) -
&TDISP=NEW -
&FILENAME=URL.INPUT -
&TDATTYP=TEXT -
&TXLATE=YES -
&TSTRIP=NO -
&TPIPE=NO -
&TXLATBL=, -
&CKPT=100M -
&COMPRESS='COMPRESS EXT'
SIGNOFF |
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
priyanka.c wrote: |
Is there a way to create a dynamic filename during the NDM process? |
Yes, the CONNECT:Direct Process Language provides a set of pre-defined variables that can be used directly or as part of a SYMBOL statement. One such variable is
%JDATE, which is resolved as the submission date of the process in the format yyyyddd.
priyanka.c wrote: |
Pass the Julian date parameter through the job maybe?
|
Yes, that would also work. |
|