IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Dynamic filename in NDM


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
priyanka.c

New User


Joined: 25 Jun 2007
Posts: 1
Location: Bangalore

PostPosted: Wed Jun 27, 2007 7:13 pm
Reply with quote

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
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 27, 2007 9:34 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts Dynamic file allocation using JCL JCL & VSAM 8
No new posts Dynamic Sortin DD cards SYNCSORT 8
Search our Forums:

Back to Top