Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How send the message from batch to online.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How send the message from batch to online.
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    Post subject: Re: How send the message from batch to online.
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    Post subject: Re: How send the message from batch to online.
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    Post subject: Re: How send the message from batch to online.
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    Post subject: Re: How send the message from batch to online.
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us