One thing that would be useful is the facility that is available in DDS
to define a field like another field, but a different data type

eg

in FILEA

FIELD1                  6A

in FILEB

FIELD2                   S  0   REFFLD(FIELD1 FILEA)

This is often handy when you have a field, customer number for example,
thats defined as Alpha on one file, and zoned on another.
If I could do this in RPG, it would be a great! 

-----Original Message-----
From: boldt@ca.ibm.com [mailto:boldt@ca.ibm.com]
Sent: Thursday, February 17, 2000 1:34 PM
To: MIDRANGE-L@midrange.com
Subject: RE: FW: Random




tomh wrote:
>Speaking of COBOL - Hans, any thought on COBOL's CORRESPONDING opcode?

I understand many COBOL programmers like its MOVE
CORRESPONDING statement and miss it when they have
to program in RPG.  We'll probably add the item to
our next "enhancement poll" so we'll see how popular
it is relative to other proposals.  (We're already
thinking of other improvements in the area of data
structures.)

Cheers!  Hans

Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to 
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.