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

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

3035.0. "Command Center "JUSTIFIED RIGHT"?" by CSC32::B_ALTMIRE () Fri Feb 28 1997 13:35

    With the 2.* mapper you can specify a text field data type "JUSTIFIED
    RIGHT". With command center the capability to do this does not seem to
    be there. Is there a way to do this in command center?
    
    Thanks,
    Bill
T.RTitleUserPersonal
Name
DateLines
3035.1SYSTEM::hiber.rkg.dec.com::JOHNSONhttp://www.digital.com/info/ediFri Feb 28 1997 14:387
Bill

Thanks for pointing this out. It is not possible in the MTE.
I have logged a bug internally. If this feature is needed,
then the workaround is to edit the SRC and compile it manually.

Richard
3035.2CSC32::B_ALTMIREFri Feb 28 1997 15:266
    Richard,
    	What is the difference between the .fbi file and the .src file?
    Also how do you do a manual compile?
    
    Thanks,
    Bill
3035.3SYSTEM::hiber.rkg.dec.com::JOHNSONhttp://www.digital.com/info/ediFri Feb 28 1997 15:4530
FBI = 	A tagged format file used by the MTE.
	It describes the mapping table in a textual format,
	enabling storage in CMS (unlike FBO).

SRC = 	At compile time the MTE generates a SRC file
	which the compiler uses as input.
	SRC files exist simply to describe the mapping table
	to the compiler.

To manually edit & compile .SRC:

MTE File->Load <my_mapping_table>.FBI
Select Mapping->Compile (this generates .SRC)
Make sure compilation is successfull.

In favourite text editor load <my_mapping_table>.SRC
search for field name and add 'JUSTIFIED RIGHT'
to the data type description.

With 'File Manager', 'Explorer' or 'Run' execute
EDIMC32.EXE which resides in the CommandCenter
installation directory.

Press the 'Compile' button.
Select <my_mapping_table>.SRC
Close compiler.

MTE Server->Copy to server

Richard
3035.4VARIANT fields with CC mapper editor?CSC32::B_ALTMIREFri Apr 04 1997 16:5618
    Richard,
    	I have been trying to define a record field as a VARIANT, works ok
    with 2.1C but can't figure out how to do it with the CC mapper editor.
    Is it possible and how do you do it? Also I tried the suggestion in .3
    to add the "VARAINT/END VARIANT" before and after the 2 variant fields
    but when I get to the manual compile it always fails with the
    following:
    
    Parsing...
     Table Attributes
     Table Notes
     Audit Controls
    Error: FBR:0 on line 16
    
    Any suggestions as to what I am doing wrong?
    
    Thanks,
    Bill
3035.5EDIBUS::newdial_16.reo.dec.com::JOHNSONRichard Johnson , http://samedi.reo.dec.comFri Apr 04 1997 17:0712
Bill

Variant fields are not supported in the MTE.
It was found to be a very rarely used feature.
It is possible to workaround it by creating
different records, one for each variant field,
and using variant records in the record sequence.

If this is not acceptable please raise an IPMT against it.

Thanks
Richard
3035.6CSC32::B_ALTMIREFri Apr 04 1997 19:288
    Richard,
    	In this case the customer was able to use a workaround supplied by
    Paul Gonyea. By defining a structure containing 1 numberic item they
    could reference the structure to dtermine if the numeric item had a
    number in it or if it contained blanks.
    
    Thanks,
    Bill