|
Looks like INZ(*SYS) was born in v3r7. Bob mentioned this to be kind of a one-time use in the program. What if you did a RESET on the field(s)? Would it re-initialize the time & date values to the current? - Dan Bale (I am *NOT* "Dale" http://archive.midrange.com/midrange-l/200105/msg00281.html ) SAMSA, Inc. 989-790-0507 DBale@SAMSA.com <mailto:DBale@SAMSA.com> Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Nicolay, Paul Sent: Thursday, May 02, 2002 12:54 PM To: 'rpg400-l@midrange.com' Subject: RE: Looking for better coding Hi, At least on a release that is currently no longer supported ! Kind regards, Paul -----Original Message----- From: Dan Bale [mailto:dbale@samsa.com] Sent: 02 May, 2002 18:52 To: rpg400-l@midrange.com Subject: RE: Looking for better coding What release did INZ(*SYS) come along? - Dan Bale (I am *NOT* "Dale" http://archive.midrange.com/midrange-l/200105/msg00281.html ) SAMSA, Inc. 989-790-0507 DBale@SAMSA.com <mailto:DBale@SAMSA.com> Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Bob Cozzi Sent: Thursday, May 02, 2002 11:30 AM To: rpg400-l@midrange.com Subject: RE: Looking for better coding If the job start date is what you needed, than its an okay technique. But if you want the current date (as you are getting the current time) you might also want to use the TIME opcode to populate your DATE field. In addition, if you only need to do that once, you could simply initialize the DATE and HOURS fields to INZ(*SYS) and avoid the TIME opcode all together.
As an Amazon Associate we earn from qualifying purchases.
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.