× 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 CPO question
  • From: batthish@xxxxxxxxxx
  • Date: Wed, 18 Jul 2001 14:44:05 -0400

Hi Phil,

You're when you copy or rename a file, the CODE information (which is
stored in the registry) is not copied (or renamed) which is why you have
problems.
The way to circumvent this is to:

1) If you want to do a Get from to a specific local file, you can modify
the action in the Confirm Action dialog (click on the action and hold the
mouse for a moment - much like File Explorer) to look as follows:
CODESRV GET server lib/file(mbr)   filename.ext

2) If you want to put a file which has no CODE info, you can force this
with the "Put to host with replace action".  You will need to modify the
action so that it looks like this:
CODESRV PUT server filename.ext  lib/file(mbr) (REPLACE

See the following URL for the full info on CODESRV PUT/GET:
http://localhost:49213/cgi-bin/vahwebx.exe/vahelp/va400/Extract/0/qcodewin/evfgs40027.htm


When doing a File->New, the purpose of the Local File checkbox is to
designate whether or not the file will ultimately reside locally or on an
AS/400.  The biggest difference you will see is that if you do NOT check
Local File, then the file WILL have sequence numbers (as opposed to line
numbers only), even if you save the file locally.
If you plan on "putting" local files (ie files with NO sequence numbers) to
the host, you should also read up on the NOTAG options for CODESRV PUT/GET.

thanks,
Violaine Batthish
CODE/400 Project Lead
batthish@ca.ibm.com          IBMCA(BATTHISH)

CODE/400 page:  http://www.ibm.com/software/ad/varpg
WDT/400 Support :
http://www.ibm.com/software/ad/wdt400/update_downloads.html



                                                                                
                                        
                    "Phil"                                                      
                                        
                    <sublime78ska@yaho       To:     <CODE400-L@midrange.com>   
                                        
                    o.com>                   cc:                                
                                        
                    Sent by:                 Subject:     Another CPO question  
                                        
                    owner-code400-l@mi                                          
                                        
                    drange.com                                                  
                                        
                                                                                
                                        
                                                                                
                                        
                    07/18/2001 11:48                                            
                                        
                    AM                                                          
                                        
                    Please respond to                                           
                                        
                    CODE400-L                                                   
                                        
                                                                                
                                        
                                                                                
                                        



If I copy a file (or rename) that is local on my pc, the properties do not
change (ie "Copied from") and that can cause havoc when I do a "put to
host".

Is there a way to change those properties?  What I do now is get it to the
as/400 by doing save-as, then doing a "get from host" to update the
properties.  That's very time consuming.

Also, when doing a File|New, what purpose does the "Local File" check box
serve?

Thanks,

Phil


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

+---
| This is the CODE/400 Mailing List!
| To submit a new message, send your mail to CODE400-L@midrange.com.
| To subscribe to this list send email to CODE400-L-SUB@midrange.com.
| To unsubscribe from this list send email to CODE400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: larry@paque.net
+---



+---
| This is the CODE/400 Mailing List!
| To submit a new message, send your mail to CODE400-L@midrange.com.
| To subscribe to this list send email to CODE400-L-SUB@midrange.com.
| To unsubscribe from this list send email to CODE400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: larry@paque.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.