Skip to Content
0
Former Member
May 24, 2007 at 02:36 PM

open data set from Text mode to Binary mode

551 Views

Hello All,

In a program i am using the command

    OPEN DATASET file FOR OUTPUT IN TEXT MODE
    ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.

Now i want to change this open data set to binary mode. I mean to change the command like below.

OPEN DATASET file FOR OUTPUT IN BINARY MODE.

when i do this. the output in the file is totally changing. I mean previously i have some text now i have some diffrent characters.

How can i use this command with out change in the output as previous output. Please tell me the changes and why i have to do.

 OPEN DATASET file FOR OUTPUT IN BINARY MODE.

Regards,

Lisa.

Message was edited by:

Lisa Roy