Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Hi Dieter,
Yes , it's an extension of
de.bender_dv.as400.datastructure.AS400Record.
I want send a this datastructor like in your Kunde example :
d MailDs ds
d qualified
D FROMaddr 64A
D ToAddr 64A DIM(10)
INZ(*blanks)
D BODY_FILE 20A
D BODY_MEMBER 10A
D SUBJECT 64A
D ATTACHMENTDS 64A DIM(10)
INZ(*blanks)
D SMTPHOST 64A
On 30 Dic, 14:23, "Dieter Bender" <dieter.ben...@xxxxxxxxxxx> wrote:
Hi Dario,
looks a little bit like an extension of
de.bender_dv.as400.datastructure.AS400Record, isn't it? . I wouldn't use
RecordFormat and AS400Array. What you get out of the DataQ is an array of
byte consisting of some well defined chunks of data. If you would provide
some details, it would be more easy to provide the code you would need.
Looking to your Snippet
format.addFieldDescription(new ArrayFieldDescription(new
AS400Array(new AS400Text(1, 280), 3), "CICCIO2"));
}
you are defining an Array of 3 Alpha Fields with length 1, you name it
CICCIO2 and you are expecting the data with CCSID 280. In RPG it would
like:
d CICCIO2 s 1a dim(3)
is this what you want???
D*B
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.