|
Just off hand, I'd say its because you have a colon after the %Timestamp function. Should that be a left paren? Also, is there a %TimeStamp() built-in? Bob Cozzi cozzi@rpgiv.com Visit the new on-line iSeries Forums at: http://www.rpgiv.com/forum > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of Lois Krake > Sent: Thursday, December 06, 2001 7:48 AM > To: rpg400-l@midrange.com > Subject: what's wrong? > > Hi all: > > Can anyone tell me why this will not work. #tims is defined as 12 alpha. > > c eval #tims = %triml(%editw(%subdt > 19.00c (%timestamp:*h):'0 '))+ > c %triml(%editw(%subdt > 21.00c (%timestamp:*mn):'0 '))+ > c %triml(%editw(%subdt > 23.00c (%timestamp:*s):'0 '))+ > c %triml(%editw(%subdt > 25.00c (%timestamp:*ms):'0 ')) > > 1900 The edit word has 3 replaceable characters but 10 are > needed. > 2100 The edit word has 3 replaceable characters but 10 are > needed. > 2300 The edit word has 3 replaceable characters but 10 are > needed. > 2500 The edit word has 3 replaceable characters but 10 are > needed. > > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > > To post a message email: RPG400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > > or email: RPG400-L-request@midrange.com > > 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@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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.