1) CALL as400 QCMDEXC to DLYJOB
or
2)
H Bnddir('ROUTINES/SRVPGM':'QC2LE')
D sleep PR 10I 0 EXTPROC('sleep')
D seconds 10U 0 VALUE
or, microseconds as400
D sleep PR 10I 0 EXTPROC('usleep')
D useconds 10U 0 VALUE
Then just sleep(60 * 10); (10 Mins)
or
use the MI WAITTIME instruction.
H DFTACTGRP(*NO)
DWait pr extproc('_WAITTIME')
D 16
DTemplate ds
D Interval 20u 0
D Options 8 inz(*loval)
DOneSecond s 20u 0 inz(4096000000)
C *entry plist
C parm NbrSecs 15 5
C eval Interval = NbrSecs * OneSecond
C callp Wait(Template)
C move '1' *inlr
C return
Supplying a value of 5 for NbrSecs would give you a 5 second delay to you as400 program.
Thursday, January 13, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- What is RPGsp (RPG Smart Pages)
- Yahoo! Mail: Revenge of the Oddpost
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Creating an as400 Query
- What is QZHQSSRV job?
- MobileTracker - Cingular announces EDGE Wireless WAN service
- AS400 Job Scheduler
- Twenty-Six Entrepreneurs We Love
- CSS: Cascading Style Sheets Made Easy - WebReference.com-
No comments:
Post a Comment