|
However, if you put the table/array in the D specs, you can easily comment out one definition, re-compile, and wham.
For example: D ArData DS D 8A INZ('abcdefgh')D Array 4A Overlay(ArDate) Dim(2)
Comment out the first INZ and add a second line with the other stuff.Picked this trick up from a session Paul Tuohy gave at COMMON. Haven't used a **CT Table since.
* Jerry C. Adams *iSeries Programmer/Analyst B&W Wholesale Distributors, Inc.* * voice 615.893.8633x152 fax 615.995.1201 email jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx> RPower@xxxxxxxxxx wrote:
It's gonna think that it's two or more compile time arrays.Best way to accomplish what you want is to copy the compile time array to the top of the program in comments, then next to the comment **CData Array, say look above for prior loadout for array....Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 709-576-8132 rpower@xxxxxxxxxx http://www.stjohns.ca/ ___________________________________________________________________________Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchillmurali dhar <hydchap1@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx2006/01/11 03:49 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Subject CT array **CtData Array abcd efghI want to comment out the data in compile time array(I dont want to delete), and enter new data in below line as shown below(instead of abcd I want to use 1234 AND instead of efgh I want to use 5678).Does it going to work(or) How I do comment out existing data(without deleting it) and enter new data in the subsequent lines?**CtData Array **abcd 1234 **efgh 5678 Thanks a lot, --------------------------------- Yahoo! PhotosRing in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.