× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.





Just curious, but what release are you on?  I was wondering why you didn't use the RCDFMT clause on your CREATE TABLE.

V7R1 - Laziness for the test. The interactive SQL prompter doesn't ask for it so I don't usually code it for quick tests. In production, we always specify differently named RCDFMT. Makes it much easier to work with RPG code. 

Is using LIKEREC supported with the renamed record format when you declare your data structure or do you have to use the original record format name? Because I am gathering the data structure doesn't support any subfields at this time.

The program compiled and ran correctly after coding separate *input and *output DS. So I assume it likes the renamed format.


Other tests indicate that %fields can't be used to do the update as it doesn't seem to like having the DS and %fields for the update. Guess I will have to be careful coder...been getting used to just updating the fields that need updating and not being concerned with what happened to the rest of them. Of course, now the code will be tightly contained in a procedure, the span of control is very tight.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.