Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Dynamic filename in NDM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Dynamic filename in NDM
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

Moderator Team Head


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

PostPosted: Wed Jun 27, 2007 9:34 pm    Post subject: Re: Dynamic filename in NDM
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us