Data area

5 pts.
Tags:
Data
Data Area
I was used Data structure in my program. I have declared all the possible values but it shows an error. 1. In or out operations not valid for DS 2. Define is not valid So please give some sample code:

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Perhaps this will help: How to pass DATA AREA to RPGLE PROGRAM.

Regards,

Martin Gilbert.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • JPPLOU

    hi

    define dtatarea in your program

    C     *DTAARA       DEFINE                  VARCDE

    retrieve data
    C                               IN                            VARCDE     

    update data
    C                               OUT                         VARCDE           

     

    retrieve or update the data structure using D instructions :

    D VARCDE          DS           100
    D  DAYCFN                  32     32
    D  SEMCRS                   50     53

     

    135 pointsBadges:
    report
  • TomLiotta
    Show your code that isn't working. If you don't show us what you have, we can't know what is wrong. We also can't know what example to show because we might show the same thing that you already have. It wastes everyone's time. We don't know what you need. -- Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Not likely to get a response...question is 5 years old.
    51,355 pointsBadges:
    report
  • TomLiotta
    Yeah, I still miss catching those dates once in a while. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following