Defination to delimited question

Joyce.Bleza@bartoncotton.com Joyce.Bleza@bartoncotton.com
Wed, 13 Dec 2000 15:59:44 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C06547.9EAD6120
Content-Type: text/plain;
	charset="iso-8859-1"

because you define SEPC  with Character*6   just use character*1 .


Regards,
Joyce Bleza


-----Original Message-----
From: Bob Bushley (Burbank) [mailto:BBushley@burbank.haskel.com]
Sent: Wednesday, December 13, 2000 3:57 PM
To: powerh-l@lists. swau. edu (E-mail)
Subject: Defination to delimited question


I and outputing to a portable subfile

SET SUBFILE NAME CYCLEBASETXT NODICT PORTABLE KEEP                 
SET REPORT SPACING 0

my elements define example is

DEFINE EDUS CHAR*10 = ""                       ;* 1. EDI - User ID
String 10       
DEFINE EDBT CHAR*15 = ""                       ;* 2. EDI - Batch Number
String 15       
DEFINE EDTN CHAR*22 = ""                       ;* 3. EDI - Transaction
Number             String 22       
DEFINE EDLN CHAR*7  = ""                       ;* 4. EDI - Line Number
Number 7,7[3]   
DEFINE EDCT CHAR*2  = ""                       ;  5. EDI - Document Type
String 2        
DEFINE TYTN CHAR*8  =  "JDECYCLE"              ;  6. Type - Transaction
String 8        
DEFINE EDFT CHAR*10 = ""                       ;  7. EDI - Translation
Format             String 10       
DEFINE EDDT CHAR*6  = ""                       ;  8. EDI - Transmission Date
Date   6        
DEFINE DRIN CHAR*1  = "1"                      ;  9. Direction Indicator
Characte 1      
DEFINE SEPC     Character*6      = ";"


REPORT sum TAB 1 &
EDUS &
SEPC &
EDBT &
SEPC &
EDTN &
SEPC &
EDLN &
SEPC &
EDCT &
SEPC &
TYTN &
SEPC &
EDFT &
SEPC &
EDDT &
SEPC &
DRIN     

I am creating a data conversion file, my output looks like

          ;                    ;                           ;            ;
;     JDECYCLE;               ;           ;     1

except for the 1st field all the rest have an extra 5 characters. WHY? How
do I get rid of these characters or must I tab every element?
I have 45 elements in this conversion file. I have appx. 15 conversion files
tabbing would be a nitemare. AND I have more files to create!

Thank You!

Bob Bushley


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.

------_=_NextPart_001_01C06547.9EAD6120
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



RE: Defination to delimited question



because you define SEPC  with = Character*6   just use character*1 .


Regards,
Joyce Bleza


-----Original Message-----
From: Bob Bushley (Burbank) [mailto:BBushley@burbank.hask= el.com]
Sent: Wednesday, December 13, 2000 3:57 PM
To: powerh-l@lists. swau. edu (E-mail)
Subject: Defination to delimited question


I and outputing to a portable subfile

SET SUBFILE NAME CYCLEBASETXT NODICT PORTABLE = KEEP           &n= bsp;    
SET REPORT SPACING 0

my elements define example is

DEFINE EDUS CHAR*10 =3D = ""          =             = ;* 1. EDI - User ID
String 10       =
DEFINE EDBT CHAR*15 =3D = ""          =             = ;* 2. EDI - Batch Number
String 15       =
DEFINE EDTN CHAR*22 =3D = ""          =             = ;* 3. EDI - Transaction
Number         &nb= sp;   String 22      
DEFINE EDLN CHAR*7  =3D = ""          =             = ;* 4. EDI - Line Number
Number 7,7[3]  
DEFINE EDCT CHAR*2  =3D = ""          =             = ;  5. EDI - Document Type
String 2        =
DEFINE TYTN CHAR*8  =3D  = "JDECYCLE"        &nbs= p;     ;  6. Type - Transaction
String 8        =
DEFINE EDFT CHAR*10 =3D = ""          =             = ;  7. EDI - Translation
Format         &nb= sp;   String 10      
DEFINE EDDT CHAR*6  =3D = ""          =             = ;  8. EDI - Transmission Date
Date   = 6       
DEFINE DRIN CHAR*1  =3D = "1"          = ;            = ;  9. Direction Indicator
Characte 1     
DEFINE SEPC     = Character*6      =3D ";"


REPORT sum TAB 1 &
EDUS &
SEPC &
EDBT &
SEPC &
EDTN &
SEPC &
EDLN &
SEPC &
EDCT &
SEPC &
TYTN &
SEPC &
EDFT &
SEPC &
EDDT &
SEPC &
DRIN    

I am creating a data conversion file, my output looks = like

          = ;            = ;        = ;            = ;            = ;   = ;            = ;
;     = JDECYCLE;          &nb= sp;    = ;           = ;     1

except for the 1st field all the rest have an extra 5 = characters. WHY? How
do I get rid of these characters or must I tab every = element?
I have 45 elements in this conversion file. I have = appx. 15 conversion files
tabbing would be a nitemare. AND I have more files = to create!

Thank You!

Bob Bushley


=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D
Subscribe: "subscribe powerh-l" in message = body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in = message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you = must be a subscriber.

------_=_NextPart_001_01C06547.9EAD6120-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu This list is closed, thus to post to the list, you must be a subscriber.