AS/400 administration, AS/400 backup, AS/400 Client Access, AS/400 command functions, AS/400 commands, AS/400 database, AS/400 development, AS/400 Display File, AS/400 error messages, AS/400 errors, AS/400 FTP, AS/400 job scheduler, AS/400 jobs, AS/400 objects, AS/400 performance, AS/400 printing, AS/400 Query, AS/400 Records, AS/400 security, AS/400 Spool Files, AS/400 user profiles, BRMS, CL, CL Program, CL programs, CL/400, Client Access, CLLE, CLP, DB2/400, i5, i5/OS, IFS, iSeries, iSeries Navigator, iSeries printing, iSeries RPG programming, iSeries V6R1, OS/400, Physical File, PTFs, RPG, RPG ILE, RPG/400, RPGILE, RPGLE, Spool files, V5R3, V5R4, V6R1 VIEW ALL TAGS
I am trying to search for the correct syntax for subtracting a minute from a time. I have a 6 numeric time field in HHMMSS format. I am trying to use free format to subtract a minute. Having trouble. Using: @atime=%dec((%time(@atime:*hms)- 1 *min)...
Hi Everyone: Is there an easy way to calculate the lapse time between 2 timestamps? The SUBDUR returns either in HR/MI/or SECONDS. But I want the lapse time in HHMMSS. Can it be done without much coding? Thanks in advance.
I'm doing a subdur to calc the number of days between mfg date and trans date. When mfg is 2008 and trans is 2009 (12/31/2008 01/02/2009) I get a result of -364 like it subdur is ignoring the year. Any idea how to fix?