Re: 4GL Dynamic "USING" format clause
Posted in 1995
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
In article <3nghh0$n3c@cssun.mathcs.emory.edu>, rob@dssmktg.com (Robert Minter) wrote: * define c char(25) > * > * let a = 1.0 > * let b = "-----&&" > * > * let c = a using b clipped > * display "'",c clipped,"'" > * > * end main > * > * When run using Version 4.00.UH2 it displays as: ' 01' > * In version 4.12.UE2 it displays as: '1.00' > > In our version of 4.10.UC3, it displays like your 4.00.UH2 version: > > ' 01' > > What happens if you un-dynamically set c: > > let c = a using "-----&&" > > Does it work correctly? > > Robert Minter |Data Systems Support| \\\\\\_/// > Programmer, Software Development | Orange, CA | ( _ _ ) > rob@dssmktg.com | Tel: 714.771.0454 | (| ^ |) > De Colores - Emmaus OC-13 | Fax: 714.771.3028 | \\`-'/ > #include <disclaimer.h> SURF'S UP \\_/ Yes it does format the character properly. However we want to use a dynamic format mask so that the users can select their own format mask. In fact informix has responded to this problem as an identified bug in version 4.12.UE2 of 4GL. to rectify the problem they recommend that we assign C as let c = (a using b ) clipped Thanks for the help John Campbell