View previous topic :: View next topic |
Author |
Message |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Wed Sep 26, 2007 8:55 am Post subject: Easytrieve - Remove CC character while using DISPLAY DD stmt |
|
|
Hi All,
Apologies, I posted the query in Utilities forum earlier by mistake , and I didnt get many responses.. I'm trying my luck here..
Query:
Is there any way to avoid carriage control characters while using DISPLAY DD statement in easytrieve?
To write out a packed decimal field as edited numeric, into a flat file (not report), I'm using the DISPLAY DD statement. But I would like to suppress the CC character.
To elaborate--
A DISPLAY DD statement prints the actual text from postion 2, with a blank in position 1 (if CONTROL is omitted).
I would like to have the data from position 1 itself.
Note: I'm trying to replicate REMOVECC functionality of SORT
Any and all help greatly appreciated! |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Wed Sep 26, 2007 9:29 am Post subject: Re: Easytrieve - Remove CC character while using DISPLAY DD |
|
|
Prabakar_S wrote: | and I didnt get many responses.. I'm trying my luck here.. | The lack of responses may be due the fact that what you want is not possible......
FWIW, most people view this forum primarily by viewing recent topics and to bring your old topic current, all you need to do is post to it...... |
|
Back to top |
|
 |
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Wed Sep 26, 2007 10:14 am Post subject: |
|
|
I'm not much of Easytrieve programmer but have you tried using an edit mask when writing to a flat file? |
|
Back to top |
|
 |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Thu Sep 27, 2007 4:36 am Post subject: |
|
|
CraigG, CICS Guy - Thanks for the response.
CraigG wrote: | I'm not much of Easytrieve programmer but have you tried using an edit mask when writing to a flat file? |
Yes I've tried edit mask patterns in a flat file, the patterns are not applied when a 'PUT' statement is issued. The patterns are applied only with a DISLAY stmt or when a report is initiated with a PRINT. |
|
Back to top |
|
 |
|
|