[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

480.0. "WPCORP DT DSAB" by SUBWAY::SULLIVAN () Tue Apr 14 1992 03:57

    Relevent Environmental information:
    ALL-IN-1 v2.4, WordPerfect v5.1 , PC users who use PCSA to place PC
    WordPerfect files on a virtual VAX disk drive
    
    I am trying to customize the Document TRansfer Menu by adding an option
    to Recieve a WordPerfect Document.
    
    If a user retrieves a file with a .wpc extension all goes well but the
    customer wants the flexibility to retrieve a file with any extension
    into a WordPerfect document.  The customer does not want the user to
    have to name all WordPerfect documents with a .wpc extension!
    
    It seems that the reason that a .wpc file comes in o.k. is because
    ALL-IN-1 handles the document conversion during the copy into the file
    cabinet.
    
    There is a part of the script that includes the following line 
    
    get oa$function = "copy #vmsfile #filename"
    
    I have modified this to be
    
    get oa$function = "copy #vmsfile #filename wpcorp"
    
    In order to force the DSAB to be WPCORP
    
    This does not seem to work...I did not see any examples of this command
    in the documentation...
    
    Do I need WPCORP in a symbol?
    Is it a quote problem?
    Am I approaching this in the right way?
    
    I would try to test these hypothesis myself but I will be on other
    projects for a few days and hope that in the meantime someone would
    have a quick answer for this query!
    
    Thanks you for any help you can provide...Ruth
T.RTitleUserPersonal
Name
DateLines
480.1Two solutions off the top of my shiney headBUFFER::VICKERSIf it helps a customer, DO ITTue Apr 14 1992 05:0111
    I believe that the problem is that the optional parameter at the end of
    the COPY function is the out-dsab and you want it to be the in-dsab. 
    You can specify the in-dsab as well as the out-dsab in ALL-IN-1 V3 so
    all you need to do is to upgrade to it.

    The next best solution of which I can think is to rename #VMSfile to
    always have a .WPC extension prior to the COPY and then restore the
    filename afterwards.  It's easy and will do the trick.

    Have fun,
    don
480.2Undocumented in V2.4TEMPRA::AGNOLIRoberto AGNOLI @TNO -DTN 871-7958Tue Apr 14 1992 09:4318
	RE. .0

	Ruth,
		even if undocumented, also in V2.4 you can specify both the 
	input and the output text DSAB to be used. The point is that the first
	one is the output (as Don pointed out) while the second is the input.

	So in your case it should be something like:

							  out-DSAB in-DSAB
							   vvvvvvv vvvvvv
		GET OA$FUNCTION = "COPY #VMSFILE #FILENAME WPSPLUS WPCORP"


	Hope it helps.

	Roberto