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


  • Subject: Re: Another BIF question!
  • From: Leslie Russell <leslier@xxxxxxxxxx>
  • Date: Fri, 14 Jul 2000 17:44:38 GMT

I tried that, if I create two LIB's and then create a FILE within the 
first LIB it works ok, in fact after I create a FILE within the first LIB 
I can go back and create a FILE within the second LIB.

  *--------------------------------------------------------------*    
  * CrtFile()                                                    *    
  *--------------------------------------------------------------*    
 DCrtFile          PR             1N                                  
 D @Lib                          10A   Value                          
 D @File                         10A   Value                          
 D @RcdLen                        6A   Value                          
 D @Mbr                          10A   Value                          
 D @Text                         50A   Value options(*nopass)             
             
                                                                      
  *--------------------------------------------------------------*   
  * CrtLib()                                                     *   
  *--------------------------------------------------------------*   
 DCrtLib           PR             1N                                 
 D @Lib                          10A   Value                         
 D @Type                          5A   Value                         
 D @Text                         50A   Value options(*nopass)             
           
                                                                     

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 7/14/00, 9:15:40 AM, Jon.Paris@hal.it wrote regarding Re: Another BIF 
question!:


>  >> They all work just fine but I am having a strange problem.

> You don't show the PR/PI set-ups for these routines so I can't check, but
> the most likely cause would be either problems with the parameters which
> cause your service routine to corrupt storage in the caller which doesn't
> cause problems unless the program calls a service routine again.  Try
> creating two libs (or files) one after the other and see if you have the
> same problem.

> One other possible cause could be global storage within the service
> routine.

> Without seeing the code, it is tough to tell.

> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
david@midrange.com
> +---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 ...

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.