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
 
Passing message or data to a running cobol batch program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
rakesh_mishra18

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Sun Jan 25, 2009 3:49 am    Post subject: Passing message or data to a running cobol batch program
Reply with quote

Is Interrupt possible in mainframe batch programs where program intercept a message from operator and vise versa. This is possible in Unisys (Cobol-74). Not sure of Enterprise Cobol ?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8195
Location: East Dubuque, Illinois, USA

PostPosted: Sun Jan 25, 2009 10:04 am    Post subject:
Reply with quote

ACCEPT can be used on the console. However, it is not recommended unless you discuss it first with your systems support people as it may be a problem if the operators aren't expecting to interact with your program. In some shops that are lights-out, there's nobody there to respond to a console message so using this method could be useless; sites vary.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jan 25, 2009 12:07 pm    Post subject:
Reply with quote

Hello,

Most mainframe batch cobol code is not designed to handle an external interrupt (for the operator or anywhere else). Therer are ways to do this in assembler, but this is usually not done in applicatoin code.

On some systems it is possible to "hang" the job waiting on a reply form the operator. This is disabled on many systems and unacceptable on many systems.

As Robert mentions, it may cause problems for your environment. Suggest you receive permission from the project manager and the coputer operatoins manager before imlementing a process that carries on a dialog with the scheduler/operator.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm

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