Topic: Wildcard specification in vpw in argument (1 of 4), Read 48 times
Conf: Wildfile, Other macros
From: Christian Gregory
Date: Tuesday, March 06, 2001 12:13 PM

I receive on a daily basis input file with the following syntax:

myFile.RPT.MEX.022801 where 022801 represents the current month, current day, and year.

When I run vpw.exe with the wildcard spec for the input, I get myFile.ASC as the output. What do I need to do to get MEX.RPT as the output.

Note that without the wildcard spec, I do get the expected output file MEX.RPT

Command Syntax:
vpw.exe -y -X d:\vedit\ebcdic-3.vdm *.* -A MEX.RPT MEX.lay

 


Topic: Re: Wildcard specification in vpw in argument (2 of 4), Read 48 times
Conf: Wildfile, Other macros
From: Christian Ziemski
Date: Tuesday, March 06, 2001 03:10 PM

Hi Christian,

here are my comments:


What should VEDIT do with many(?, eventually more than one) input
files but only one output file?

I think your line is expanded to (as example, with 3 files in the
current directory):

vpw.exe -y -X ebcdic-3.vdm file1 file2 file3 -A MEX.RPT MEX.lay

and is interpreted as:

OPEN 4 files: file1 file2 (file3 -A MEX.RPT) MEX.lay

and save the third one with the name MEX.RPT.


What do you want "ebcdic-3.vdm" to do? Maybe that:
Work with two input files: one data and one layout file.
Save the data file after a conversion or so as MEX.RPT then.

If so you have to specify no wildcards but the exact input file name.
Maybe WILDFILE.VDM or a DOS batch script can help you further...

You see: it's not easy to help if one has to guess the details.


Christian, too.

 


Topic: Wildcard specification in vpw in argument (3 of 4), Read 54 times, 2 File Attachments
Conf: Wildfile, Other macros
From: George Christman
Date: Wednesday, March 07, 2001 03:36 PM

I made up a batch file and an input file, for you to convert multiple files from EBCDIC to ASCII. I will attach them to this message.

They will be included in the next EBCDIC package release.

 
Input file for EBC3MULT.BAT
  Batch file: Multiple EBCDIC conversions

 


Topic: Wildcard specification in vpw in argument (4 of 4), Read 49 times
Conf: Wildfile, Other macros
From: Christian Ziemski
Date: Thursday, March 08, 2001 02:07 AM

Aha, that was his intention.
I didn't know ebcdic-3.vdm.
So everyone is able to learn something here :-)

Christian