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




     Well, typically I define WORKSTN files as (file type)Combined (file 
     designation)Full-Procedural. It'll like something like this:
     
     F<dspf>  CF  E                    WORKSTN    
     
     Combined files are both input and output.
     Full procedural files are controlled exclusively by calculation 
     operations, like EXFMT, CHAIN, READ, WRITE, etc. (Not using RPG 
     cycle)
     
     You are exactly correct when you say that your EXFMT must refer to 
     a record fromat defined within your display file.
     
     The RPG/400 Programmers Guide has many examples of workstn 
     programming.
     
     For more information on F specs, read Chapter 14 in ILE RPG/400 
     Reference.


______________________________ Reply Separator _________________________________
Subject: Re: 2 questions  
Author:  <MIDRANGE-L@midrange.com > at INET_WACO
Date:    10/6/98 10:39 AM


Eric,
     
well, i have a dspf in my program made up of 3 records.
the dspf is called pa001 and its 3 rec. are, dspfpa001a, dspfpa001b, 
dspfpa001c.
     
i guess you're saying that pa001 will be defined in fspec and when i 
use something like EXFMT dpsfpa001c to execute certain records right?
     
but how do you define a dspf in fspec. its not an update file, is it 
an input file described externally on disk?
     
Mohammd
     
     
---eric.delong@pmsi-services.com wrote: 
>
> 
>      Mohammad,
>      
>      'F' specs are used to define I/O devices to an RPG program. 
When I 
>      say I/O devices, I mean such things as: display files(DSPF), 
>      database files(PF,LF), communications files(ICFF), 
printers(PRTF), 
>      etc. 
>      
>      Programs may call other programs, passing parameters if 
necessary. 
>      This if not defined in F spec. In RPG, incoming parameters are 
>      defined in an *ENTRY PLIST. 
>      
>      HTH
>      eric.delong@pmsi-services.com 
     
     
> are cl pgm defined in f spec when they work w/an rpg pgm? 
>      
> does the same apply to display files and their records? 
>      
> Mohammad
_________________________________________________________ 
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.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.