|
Hardest thing to find is the thing that is not there! This both verified and compiled just fine for me - 7.3 of i5/OS and 9.6.0.3 of RDi.
I also added DSPLY C_SHUTDOWNTIME; and it compiled and ran fine.
Cheers
Vern
On 6/3/2018 10:29 AM, Joe Pluta wrote:
Here's a fun one. I cannot figure out how to define a time constant in free-form RPG in RDi. I'm at version 9.6.0.1:
Literally, this three-line program will not verify:
ctl-opt actgrp(*new) option(*srcstmt:*nodebugio);
dcl-c C_SHUTDOWNTIME t'23.50.00';
return;
No matter what I try, I get RNF0306E saying the format is not valid. I tried adding TIMFMT(*ISO) to the ctl-opt specification (didn't change the error) and to the dcl-c (keyword not allowed).
I save the member and it compiles correctly, but this specification won't pass muster.
Anybody else?
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.