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



There's two things I can think of that might help you.  Firstly, you could 
use the program that creates the file to also write one record in it. Or, 
secondly, when you read the disk file to write the subfile, you can check 
and see if it read at least one record.  If it did, fine.  But if it 
didn't then right then write a record to the subfile saying "no records as 
yet" in one of the character fields of the subfile.

In either scenario the subfile won't be empty anymore and should display 
just fine for you.
_______________________
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
_______________________




mariame@SIAMTL.COM
Sent by: owner-midrange-l@midrange.com
09/18/2000 05:53 PM
Please respond to MIDRANGE-L

 
        To:     MIDRANGE-L@midrange.com
        cc: 
        Subject:        QTEMP FILE

Hi, 

i've used the code in varpg : 

 DQCmdDDM          C                   'QCMDDDM' 
 D                                                       LINKAGE(*SERVER) 
 DCallPgm                C                   'CALL PGM(XPROPLAN/PIVTMPCL)' 
                 /* call  this pgm create the temporay file */ 
   * 
 C                  CALL        QCmdDDM 
 C                  PARM      CallPgm      Cmd                255 
 C                  PARM      255                CmdLen           15 5 


to display my sub file but it doesn't work because i don't have data (from 
my temporary file) ? 
any help? 

thanks a  lot 


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