× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Error Messages on Sign-on display
  • From: Alan Campin <Alan.Campin@xxxxxxxxxxxxx>
  • Date: Wed, 17 Nov 1999 12:44:37 -0700

This is what I do. In this example, I send the messages and sign them off if
unable to transfer to subsystem.

     TfrJob Jobq(&SubsysNa)                                           
     MonMsg MsgId(CPF0000) Exec(Do)                                   
       RmvMsg PgmQ(*Ext) Clear(*ALL)                                  
       SndPgmMsg MsgId(CPF9898) Msgf(QCPFMSG) ToPgmq(*EXT) +          
                   MsgType(*Diag)                                     
       SndPgmMsg MsgId(CPF9898) Msgf(QCPFMSG) ToPgmQ(*EXT) +          
                   MsgType(*Diag)                                     
       SndPgmMsg MsgId(CPF9898) Msgf(QCPFMSG) ToPgmQ(*EXT) +          
                   MsgType(*Diag)                                     
       SndPgmMsg MsgId(CPF9898) MsgF(QCPFMSG) MsgDta('JOB +           
                   ENDING ABNORMALLY') ToPgmQ(*EXT) MsgType(*Diag)    
       SndPgmMsg MsgId(CPF9898) MsgF(QCPFMSG) MsgDta('Unable to +     
                   transfer to subsystem ' *CAT +                     
                   &SubsysNa) ToPgmQ(*EXT) MsgType(*Diag)             
       SndPgmMsg MsgId(CPF9898) Msgf(QCPFMSG) MsgDta('Please +        
                   ask Systems to check user data base') +            
                   ToPgmQ(*EXT) MsgType(*DIAG)
       SndPgmMsg MsgId(CPF9898) Msgf(QCPFMSG) MsgDta('Press +            
                   ENTER to end job') TOPGMQ(*EXT) MsgType(*Info)        
       Signoff
     EndDo


-----Original Message-----
From: Evan Harris [mailto:spanner@ihug.co.nz]
Sent: Wednesday, November 17, 1999 11:47 AM
To: midrange-l@midrange.com
Subject: Error Messages on Sign-on display


I'm playing with the idea of routing interactive jobs into their own
subsystems and additionally "locking" applications to enable access to be
restricted at certain times.

I've managed to create a routing program and the locking part easily
enough, and the jobs get routed to the appropriate subsystem correctly, the
problem I have is that I want to sign off the user and send a program
message stating that "Application XXXX is not currently available - try
again later" and display it on the sign on screen after logging the user
off, in similar fashion to an "incorrect password entered" type message.

Unfortunately, I don't seem to be able to get this to work using a program
message from the routing program. What is the trick to this that I am
missing, presuming it is possible ?

On other question - should I be doing a TFRCTL at the end of the routing
program to remove it from the invocation stack, or will this take place
automatically when the job enters the new subsystem ? My routing program
either signs the user off or does a TFRJOB into the correct subsystem.

Thanks in advance
Evan Harris
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.