Home > Ask the AS/400 Experts > iSeries Application Development Questions & Answers > Interrupting a user's session
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Interrupting a user's session

John Blenkinsop EXPERT RESPONSE FROM: John Blenkinsop

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 15 August 2005
I want to send the user a message that will interrupt their session and remind them to transmit the payroll. Right now I send break messages throughout the day. The user doesn't want the reminder if they already executed the job. The job was programmed by an outside vendor so I can't directly access it. I want to be able to send a break message that the user can enter a value into to indicate that the job was run and no more reminders will be sent for that week. Do you have any ideas?

>
Create a file containing the user IDs and a flag to say the user has sent their payroll. Create a CL program that reads the file. In the program, if the flag is not set for a user, send an inquiry message (*INQ) and receive the reply. If the reply value is 'y' or 'Y' (the message being "Have you sent your payroll yet?"), run an RPG program to update that record (key is User ID) to set the flag.

At the beginning of each week, run an RPG program to reset the flags in the file. Then you can run your CL program whenever you feel like it and it will message people until they reply that they have sent their payroll.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries Application Development
Monitoring escape messages and using RCVMSG for diagnostic messages
Listing contents of multiple FTP directories on AS/400
Chain operation error after converting RPG3 to ILE RPG (RPGIV)
Space offset X'0015FF00' or X'0000000000000000' is outside current limit for object QIGC2424C
Searching fields for values
iSeries application display subfiles with other program windows
Searching part of a name or address in AS/400
Passing parameters in an ILE RPG module
What's happening to my subfile?
What happening to my subfile?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts