Free form syntax Questions

1

Free format subdur minutes from a time
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) :6:0)                                    Getting compile error saying “The name or indicator minis not defined”  tried [...]

Answer Question   |  May 4, 2011  6:39 PM
Free form syntax, RPG, RPG Code, SUBDUR
asked by:
15 pts.

RPG free form
Need to do a straight call, not a callp, is there a way to do this in free form?

Answer Question   |  August 18, 2008  2:05 PM
Free form syntax, RPG ILE
asked by:
5 pts.

1