I am trying to name a dataset
as the String 'Reject' concatenated with the job parameter #RunDate#
I have done that with Sequential files, but with DataSets, the output file name does not have the translated value for the job parameter.
Any suggestions are appreciated.
Thanks
Job Parameter as part of DataSet name
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
With a Data Set (or File Set) you are specifying the name of its control file.
This certainly can include job parameter references - it's a regular "pathname".
Please note that the name of a Data Set control file must have a suffix of ".ds". Best practice is to allocate a directory (perhaps a subdirectory of the project, perhaps a more central location) in which Data Set and File Set control files can be corralled.
This certainly can include job parameter references - it's a regular "pathname".
Please note that the name of a Data Set control file must have a suffix of ".ds". Best practice is to allocate a directory (perhaps a subdirectory of the project, perhaps a more central location) in which Data Set and File Set control files can be corralled.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Thanks Ray,
I have used two job parameters one for rundate (timestamp) and another one for directory path
and in the reject datasets, i have the names as
#directoryPath#/Reject#Rundate#.ds
but hte output ds file is named exactly the same way, with the '#' and all and without the job params being evaluated..
what am i doing wrong?
I have used two job parameters one for rundate (timestamp) and another one for directory path
and in the reject datasets, i have the names as
#directoryPath#/Reject#Rundate#.ds
but hte output ds file is named exactly the same way, with the '#' and all and without the job params being evaluated..
what am i doing wrong?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: