Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts Default Message in Rexx cvnlynn CLIST & REXX 9 Wed Aug 02, 2017 12:38 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us