×
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.
I'm late to this question can you copy the dump value? Maybe someone will notice a separator out of place that you don't see?
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dale Janus
Sent: Wednesday, July 09, 2014 1:24 PM
To: RPG400-L@xxxxxxxxxxxx
Subject: Re: Date format errors creating timestamp
message: 2
date: Wed, 09 Jul 2014 12:15:55 -0500
from: Booth Martin<booth@xxxxxxxxxxxx>
subject: Re: Date format errors creating timestamp
D, T, and Z fields are not stored in any format useful to us. For
instance, as I understand it, a date field is only 4 somethings in
length. These fields know what they are and we don't care what they
are. We only care how we see them. In other words, QTSTAMP is not a z
field so you can't slip a z field in to it. If QTSTAMP is a new field
in the file, why not change the field's definition to being a
timestamp field?
As clear as I try to make my messages, I always leave out something.
The field QTSTAMP is a new field in the new file defined as timestamp.
I ended up with the intermediate field MYTS as I was trying different things to get the code to work.
I'm not sure what you mean by D,T,Z not stored in format useful to us.
How else can I create a timestamp field without using these definitions?
I am just confused because my program dump shows the timestamp field to look correct.
---Dale
--
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.
As an Amazon Associate we earn from qualifying purchases.