Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easier way to transfer a data area??

Status
Not open for further replies.

jsplice

Programmer
Jun 3, 2003
88
US
Hello all. While testing a program here at work I noticed that I need a particular data area to run the program. I'm running the program on my home development system, and the data area that I need is on one of the field AS400 machines. The data area that needs to be brought over is 500 characters long. Now, I could use the CHGDTAARA command and do it at an excruciatingly slow 32 characters per command (this is the max that is allowed when prompting the CHGDTAARA command), but this would be very nerve racking. Is there an easier way to get this data area over to my development system?
 
The CHGDTAARA command is not limited to 32 characters, it simply defaults to a visible length of 32. The maximum length for the VALUE parameter is 512. You can see this by prompting the CHGDTAARA command and keying an ampersand '&'. Do this repeatedly until the system gives you a 'Field at maximum display length' message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top