IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How send the message from batch to online.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
natraj_breeze

New User


Joined: 17 Aug 2005
Posts: 3

PostPosted: Mon Oct 24, 2005 3:01 pm
Reply with quote

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
View user's profile Send private message
pradeepspim

New User


Joined: 18 Oct 2005
Posts: 5
Location: Bangalore

PostPosted: Mon Oct 24, 2005 4:57 pm
Reply with quote

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
View user's profile Send private message
natraj_breeze

New User


Joined: 17 Aug 2005
Posts: 3

PostPosted: Mon Oct 24, 2005 6:01 pm
Reply with quote

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
View user's profile Send private message
pradeepspim

New User


Joined: 18 Oct 2005
Posts: 5
Location: Bangalore

PostPosted: Tue Oct 25, 2005 9:14 am
Reply with quote

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
View user's profile Send private message
mvanandkumar

New User


Joined: 01 Sep 2005
Posts: 11

PostPosted: Tue Oct 25, 2005 1:16 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts IMS Message : DFS3577A IMS DB/DC 4
Search our Forums:

Back to Top