|
The length of the numeric field is 6 positions with 0 decimals. ----- Original Message ----- From: "Bob cozzi" <cozzi@xxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, October 07, 2003 2:03 PM Subject: RE: TIME command > What's the length of the numeric field? > It uses that to base what information is returned to the Result field. > If you really want the current time, use a T (time) variable data type in > the Result field and output it instead. If you're beyond V4R1 that's no > problem on Print or Display files. > > > Bob Cozzi > Cozzi Consulting > www.rpgiv.com > > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of James Newman > Sent: Tuesday, October 07, 2003 1:56 PM > To: RPG List > Subject: TIME command > > Okay, I feel like a real dunce asking for help with this but I'm having > trouble getting the time in my report header. I'm using the TIME opcode and > moving it to a numeric field (per Cozzi's book), then using the numeric > field in the report header. Simple, right? Somehow I keep getting spaces > in it and the report blows up. > > So could someone please help me cure this brain fart of mine? TIA. > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.