The filename is a job parameter, and the job parameter value is fed by the job control process. The job control process takes care of determining the value by whatever means necessary. Your choices for job control are Sequencers, BATCH, or custom control using the documented APIs.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
To paraphrase what Ken posted, your job control routine reads the sequential file, constructs the file name based on what it has read, and passes this to the job as a parameter value using DSSetParam before requesting execution of the job.
Within the job, the parameter reference is used to provide the file name.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Hi,
you could also use a job to read the file and get the file anme and then set user status with the file name and pass that as your paramter to the job.
just another way to get what the wise folks said before me
Roy R.
Time is money but when you don't have money time is all you can afford.