RE: String problem

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: RE: String problem
From: Chris Behrends (CBehrends@MACCnet.com)
Date: Tue Aug 18 2009 - 12:49:03 EDT


If its valid to have spaces in the PP69-STREET-NM field, change the code to say DELIMITED BY SIZE instead of ' ' for the PP69-STREET-NM field

Chris

From: owner-vse-l@Lehigh.EDU [mailto:owner-vse-l@Lehigh.EDU] On Behalf Of Ron Ashley
Sent: Tuesday, August 18, 2009 11:29 AM
To: VSE Discussion List
Subject: String problem

I have not used string before but there is the following in the program:

STRING
        PP69-HOUSE-NO DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        PP69-PREFIX  DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        PP69-STREET-NM DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        PP69-SUFFIX     DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        PP69-QUAD       DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        PP69-LOCATION   DELIMITED BY ' '
        ' ' DELIMITED BY SIZE
        INTO FINAL-ADDR.


In the above if PP69-street-nm is COUNTRY MAIN only COUNTRY gets moved to final-addr. Any thoughts?

Ronald Ashley
System Programmer
256-535-1269

________________________________
Please note email address change:
We have upgraded our email server and restructured our email addresses. Please update your contacts list to reflect the new address.

________________________________
Confidentiality Notice: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Wed Sep 02 2009 - 20:20:09 EDT