Solved

Re-define in RPG style Data Structure

Posted on 2003-10-30
2
826 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
  • 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 100 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now