× 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.


  • Subject: Re: Feedback ds for CEEDAYS API
  • From: "Carsten Flensburg" <flensburg@xxxxxxxxxx>
  • Date: Fri, 24 Nov 2000 20:11:03 +0100
  • Organization: Novasol Data AS

Hello Marcin,

You just need to add the bitfields' storage:

d  Feedback       ds.
d   MsgSev                       5u 0
d   MsgNo                        5u 0
d   Bits                              1a
d** Case
d** Severity
d** Control
d   Facilyty_id                  3a
d   I_S_Info                    10u 0

Best regards,
Carsten Flensburg


----- Original Message -----
From: <owner-rpg400-l@midrange.com>
To: <RPG400-L@midrange.com>
Sent: Friday, November 24, 2000 2:34 PM
Subject: Feedback ds for CEEDAYS API


>
>
> Hi all
>
> How to define feedback data structure for CEEDAYS API?
> I have try unsuccessfully following the C definition
>
>  * typedef volatile struct {
>  *    _UINT2 MsgSev;
>  *    _UINT2 MsgNo;
>  *    _BITS Case     :2;
>  *    _BITS Severity :3;
>  *    _BITS Control  :3;
>  *    _CHAR Facility_ID[3];
>  *    _UINT4 I_S_Info;
>  * } _FEEDBACK;
>
> d  Feedback       ds.
> d   MsgSev                       5u 0
> d   MsgNo                        5u 0
> d** Case
> d** Severity
> d** Control
> d   Facilyty_id                  3a
> d   I_S_Info                    10u 0
>
> Regards
> Marcin Sagan
>
>
> !
>    !
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
>

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.