Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Re-define in RPG style Data Structure

Posted on 2003-10-30
2
Medium Priority
?
853 Views
Last Modified: 2008-02-01
Hi Everyone,

Can someone tell me if we one can redefine a field in RPG style Data Structure.

Thanks
0
Comment
Question by:dhumal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 14

Expert Comment

by:daveslater
ID: 9656842
If the DS is internally described then simply change the attributes in the I/D specs

If it is externally described then change the dds definition recompile and recompile the program

You can also simply enter the new spec as followes (usinf the LDA) as an example
 D LDA           E DS                  EXTNAME(LDA) DTAARA(*LDA)    
 DU#LGCD                 873    874                                  
 DU#LGCD                 873    873  0

or

ILDA       E DSLDA                                    
I                                        1   2 PCONO  
I                                      257 271 PNUMFT
I                                      257 2700PNUMFA
0
 
LVL 14

Accepted Solution

by:
daveslater earned 400 total points
ID: 9656844
sorry the example should be

D LDA           E DS                  EXTNAME(LDA) DTAARA(*LDA)    
DU#LGCD                 873    874                                  
DUxLGCD                 873    873  0

or

ILDA       E DSLDA                                    
I                                        1   2 PCONO  
I                                      257 271 PNUMFT
I                                      257 2700PNUMFA
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question