× 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.



Not so, Grasshopper.  The RPG cycle is just -=dandy=- for writing to a
database file!  Of course, you need to use the Output specifications:  list
the format name, a couple of indicators, and list JUST THE FIELDS YOU WANT
TO UPDATE!!  No more overlaying every single field!  No more problems with
data migrating to new files because they have the same field name in 2
files!  It's the latest thing!  (:

If you omit the A=Add in the file spec, your program will clear and
re-populate the file.


--Paul E Musselman
PaulMmn@ix.netcom.mcom





>Counter question... can the RPG cycle be used to write to a database
>file?  You should find the answers are the same...
>
>No.  You must explicitly WRITE the records.  Don't forget the overflow
>indicator in the LO position of the WRITE opcode.  I/O errors could
>result otherwise.  (Unless you're handling overflow differently).
>
>Bradley V. Stone
>Taylor Corporation - OASIS Programmer/Analyst
>bvstone@taylorcorp.com
>Phone: 1-507-625-6464 x3147
>Fax: 1-507-625-8937
>
>> -----Original Message-----
>> From:        boothm@ibm.net [SMTP:boothm@ibm.net]
>> Sent:        Wednesday, October 14, 1998 5:58 PM
>> To:  MIDRANGE-L@midrange.com
>> Subject:     PRTF question
>>
>> Here's another newbie question.  I just started using externally
>> described printer files. Neat stuff.  I haven't been able to figure
>> out how to print  except with a Write opcode though.   Can the RPG
>> cycle can be used to print a PRTF?
>>
>> tia
>>
>> --
>> -----------------------------------------------------------
>> boothm@ibm.net
>> Booth Martin
>> -----------------------------------------------------------



+---
| 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-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.