Converting from Variable length to Fixed length

Johnson, Tracy Tracy.Johnson at msiusa.com
Mon Aug 15 15:43:35 CDT 2005


If the system is HP,

:EDITOR
/T <myfile>
/SET FIXED
/KEEP
/EXIT

However by default, it will keep as 256 bytes wide.

If you want something narrower (80 as an example,) add:

/SET RIGHT=80
/SET LENGTH=80

Tracy Johnson
Measurement Specialties, Inc. 

BT







NNNN


> -----Original Message-----
> From: 
> powerh-l-bounces+tracy.johnson=msiusa.com at lists.sowder.com 
> [mailto:powerh-l-bounces+tracy.johnson=msiusa.com at lists.sowder
> .com] On Behalf Of Ken Langendock
> Sent: Monday, August 15, 2005 4:16 PM
> To: powerh-l at lists.sowder.com
> Subject: Converting from Variable length to Fixed length
> 
> 
> Anyone know of a utility that will convert a file with 
> variable length records to Fixed length records for a 
> Powerhouse for NT environment (DOS)? I know the newform 
> command will do it on UNIX, but I need a dos version.
> 
> FWI, I have a tool that will replace strings within a file in 
> DOS batch, if anyone needs it.
> 
> Ken
> 
> 
> -- 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l at lists.sowder.com
> Subscribe: "subscribe" in message body to 
> powerh-l-request at lists.sowder.com
> Unsubscribe: "unsubscribe &lt;password&gt;" in message body 
> to powerh-l-request at lists.sowder.com 
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a 
> subscriber.
> 



More information about the powerh-l mailing list