Solved

Re-define in RPG style Data Structure

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setup SFTP for internal iSeries servers 8 960
rpg d specs 5 87
how to apply the SSL on iseries and WAS application 1 114
Catalog Index 9 119
Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

21 Experts available now in Live!

Get 1:1 Help Now