View previous topic :: View next topic
|
Author |
Message |
natraj_breeze
New User
Joined: 17 Aug 2005 Posts: 3
|
|
|
|
Hi
Any one know how to transfer the message from batch to online.
My online program is Triggering the JOB and the data from the online program is populated to the batch program and the output from the batch program is written to a file.
i need to know after writing to the file i need to pass the message like.
The data is updated success or the data is not updated . to the online screens.
Pls., send me the details and syntax.
Thanks
Natarajan |
|
Back to top |
|
|
pradeepspim
New User
Joined: 18 Oct 2005 Posts: 5 Location: Bangalore
|
|
|
|
hi dude...online program means cics....the data from the physical map should be sent to the record structure and write that record.move the values from the symbolic map to the record structure.
after successful operation use cics routine and send the message saying successfull operation.......this can be done using dfhcomarea....linkage section should be used....
regards
pradeep k.s |
|
Back to top |
|
|
natraj_breeze
New User
Joined: 17 Aug 2005 Posts: 3
|
|
|
|
Hi
I need to pass the message from batch(JCL/COBOL) to online(CICS).
my question is one CICS program is triggring the job after the sucessful completion of the job i need to send the message to the CICS program.
How to send the message from one job to the specific transaction map.
Thanks
Natarajan |
|
Back to top |
|
|
pradeepspim
New User
Joined: 18 Oct 2005 Posts: 5 Location: Bangalore
|
|
|
|
hey dude...u cant perform file operations in cics program.....after completing u can use suitable cics routine to display a message...its not a big deal but i am not clear about file writing...how do u pass data from batch to online....i think it cant be done...i am not sure... |
|
Back to top |
|
|
mvanandkumar
New User
Joined: 01 Sep 2005 Posts: 11
|
|
|
|
Hi guys,
Not sure whether these steps will address your issue.
1) In CICS trigger the batch job by using INTRDR.
2) In Batch program write the Return code to a file say Batch file.
3) In CICS using CECI within the program Open the Batch file
4) Read Batch file for the Return code and send the read values to CICS map.
These are my 2 cents of views.
Thanks
Anand |
|
Back to top |
|
|
|