|
I am storing the last date the program was run in a data area.number of times and never had a problem. Now I keep getting the error:
This then becomes the beginning date the next time. I have done this a
RNF5262E Factor 2 operand has data type that is not allowed for thisoperation. The help text just says factor 2 is not the correct data type.
This is probably just something I am not seeing, can someone else spot theproblem?
on V5R4.
This is the data area:
Data area . . . . . . . : FSHDTE
Library . . . . . . . : V64BPCSPGM
Type . . . . . . . . . : *DEC
Length . . . . . . . . : 8 0
Text . . . . . . . . . : Last Date Fishmouth Report Run-BOM299
Value . . . . . . . . . : 20091115
And here is the code bits:
D FshDte S 8 0 INZ(0)
C *DTAARA DEFINE FSHDTE FshDte
C *LOCK IN FshDte
93
The error is on the DEFINE line. The indicator is in the low position.
There is an OUT command later that puts todays date in the dataarea. I am
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.