We have one of our job in which we are providing the Payroll number as input and submiting the same. After execution it will send the output reports to mail which is mentioned in that job.
Now the challange for our team is that to submit this job automatically with new payroll number.
We receive a large number of requests for Book of Business (BOB). We need to determine the feasibility of automating the BOB requests. So need to add functionality to select records by the agent number. This would be a new online transaction.
Below is the job for BOB. We are providing the Agent number (payroll no) in LTCINPUT whenever that agent sells the policy and then submit the job. The Agent number we will come to know, and now we want to provide the agent number at ONLINE screen such that as we give the agent number the following job should run automatically with that agent number and will send the reports to mail is mentioned.
We receive a large number of requests for Book of Business (BOB). We need to determine the feasibility of automating the BOB requests. So need to add functionality to select records by the agent number. This would be a new online transaction.
Below is the job for BOB. We are providing the Agent number (payroll no) in LTCINPUT whenever that agent sells the policy and then submit the job. The Agent number we will come to know, and now we want to provide the agent number at ONLINE screen such that as we give the agent number the following job should run automatically with that agent number and will send the reports to mail is mentioned.
Do You realize that You just reposted the same useless thing..
as I said before a job stream is simply a job stream, and does not give the slightest hint on the process
Quote:
... This would be a new online transaction. ...
OK... go ahead I do not see any problems
display a screen,
receive the relevant data
check the data for congruency with the other data in Your databaes
update all the relevant databases
using the internal reader facilities submit a batch job customized for Your needs
display a screen with a confirmation of the actions taken
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Said a bit differently, get the value from the screen and submit customized jcl thru the internal reader containing the specifics for "this" run.
If you are not familiar with the internal reader (INTRDR), there are multiple examples in the forums. If you find something you don't understand, post what you found as well as your question about it and someone will be able to offer suggestions.
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
1. ramukadam, we probably have a language difference...
Quote:
we need to run the same with
The term 'the same' is not clear enough for us to help you. It is fairly clear that you do not want the same. You probably mean something like 'we need to run a very similar job, but which uses a different agent number'
2. Your sample JCL does not seem to have a agent number or payroll number. Perhaps you mean the agent's TSO userid, 'KADAMYA', which I think is in several places. Please do not post your JCL again, but perhaps describe where the agent number is.
3. There are several ways to customize a job. One way is to use rexx along with QUEUE and SUBMIT.