× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



'yyyy-mm-ddThh:mm:ss' is not a valid character representation of a
timestamp. The only valid representation is the ISO format,
'YYYY-MM-DD.HH.MI.SS.MSMSMS'.
If you want to initialize a timestamp variable, there is no need to convert
it with the %Trim-Built-In-Function.
The following initialization statement should work.

In.StartDate = Z'2015-12-08 14.26.46.000000';


Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"


-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von Jim
Franz
Gesendet: Tuesday, 19.1 2016 18:00
An: RPG programming on the IBM i (AS/400 and iSeries)
Betreff: RPG Free qualified DS RNF008 error V7R1

Getting a compiler error from CRTRPGMOD

000105 in.StartDate =
%timestamp('2015-12-08T14:26:46');
======> a
b
*RNF5008 20 a 000105 Factor 1 operand is not valid; defaults to
blanks.
*RNF5507 30 b 000105 A semi-colon is not specified at the end of a
free-format

specification.
000106 in.EndDate =
%timestamp('2015-12-16T00:00:00');
======> a
b
*RNF5008 20 a 000106 Factor 1 operand is not valid; defaults to
blanks.
*RNF5507 30 b 000106 A semi-colon is not specified at the end of a
free-format

specification.

same error if statement in.StartDate = StartDT;

statement starts in column 10, so not the ptf issue with /free code in
column 1 - 6 5770WDS SI51094 is applied.

Many other ptfs for WDS in google - hoping to narrow this down.
Not an option to load cume (that requires a month of testing ...)

This is code generated from WSDL2RPG but all I see says this should work.

This is most of the parms for CRTRPGMOD
CRTRPGMOD MODULE(FRANZJI/WS0001R) SRCFILE(*LIBL/QRPGLESRC) SRCMBR(WS0001R)
GENLVL(10) DBGVIEW(*LIST) OPTIMIZE(*NONE) INDENT(*NONE) CVTOPT(*NONE)
TRUNCNBR(
*NO) FIXNBR(*NONE) TGTRLS(*CURRENT) ALWNULL(*NO) DEFINE(*NONE)
BNDDIR(*NONE)

Jim Franz
--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.