Solved

Re-define in RPG style Data Structure

Posted on 2003-10-30
2
838 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

695 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