PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07/02/2012 11:49 AM by  Phil Romov
Inspect and replace with double quotes
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jcarrott
Private
Private
Basic Member
(11 points)
Basic Member
Posts:7


Send Message:

--
06/28/2012 9:19 AM
    I am trying to inspect for a character "#" and the replace it with a " (double quote) on a windows system.
    The system does no seem to support single quotes or hex.
    I used "#" as a simple place holder that I wanted to replace with a double quote.
    Does anybody know how to do this?
    John Henley
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    06/28/2012 10:10 AM
    Do you mean in COBOL?
    Thanks for using the LawsonGuru.com forums!
    John
    Phil Romov
    Consultant
    redthree.com
    Veteran Member
    (114 points)
    Veteran Member
    Posts:44


    Send Message:

    --
    07/02/2012 11:49 AM
    What are you inspecting? Most text editors have a "search and replace" function

    By the way, cobol does support hex:
    02 WS-HEX-VALUE PIC X VALUE X"41".
    DISPLAY "HEX VALUE: " WS-HEX-VALUE.

    HEX VALUE: A
    You are not authorized to post a reply.