RE:     Native Files

Jon

I agree it would be an "Unnatural Act" for RPG to read and write to
stream files.  I also believe you understand my intent of the message.

The problem is not RPG so much as it's a "half" implemented OS function.
My main problem is with the IFS commands which should be a more true
OO implementation of the command set.  CPY, CPYTOSTMF, CPYFROMSTMF as well
as SAV and RST should hide the idiosyncracies of the underlying arch.
I'll write my procedures for the API calls (I think with your and Ray's 
help).   IBM is focused on the GUI interface and user driven functions
that they completely ignore the CLP side of the house.  CLP will not go
away and we need a way to move stuff from one file system to another 
easily.  "Single Field" files for a source from the QSYS.LIB side
is a joke.  

Java or no Java,  we will still (5-10yrs) have "Batch" functions.  
The native command support is one of the things that is keeping the 
IFS from not being embraced faster.

IMHO as always
Respectfully 
John Carr



To: List)              <midrange-l@midrange.com>

From: Jon Paris                                                                
Subject: Native Files                                                          

 >Don't get mad now.  You know I meant that in a nice way.                     

Get mad - me ?!? ..... Get even maybe .. ;-)                                   

 >P.S.    Of course OS/400 should be extended to cover the OVR command         
 >and all the rest. BTW If the ORIGINAL developers of the SYS/38 were doing    
 >the coding, it would have been done that way.   I mean the guys that said    
 >a *FILE is a *FILE!!  It will be treated like an object!!!                   

I think you've just restated my point - the problem is not one that RPG        
can "fix" - In fact I rather suspect that RPG couldn't do it anyway without    
the system supplying at least 90% of the support needed to do the whole job    
in a seamless manner.                                                          

By the way, while I agree that it would be far nicer to have full native       
I/O support, I don't think that it need be as ugly as you make it sound.       
Remember that you can wrap the API calls in your own procedures and provide    
a more natural interface.                                                      

.                                                                              
Jon Paris  -  AS/400 AD Market Support  -  jonp@vnet.ibm.com                   
Dept 723  IBM Canada Lab        T/L 8-778-4019   (416) 448-4019                
>> FAX Number:                      8-778-4414   (416) 448-4414                
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| 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 unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].