MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Easytrieve - Remove CC character while using DISPLAY DD stmt

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Wed Sep 26, 2007 8:55 am    Post subject: Easytrieve - Remove CC character while using DISPLAY DD stmt Reply with quote

Hi All,

Apologies, I posted the query in Utilities forum earlier by mistake Embarassed , 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
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Sep 26, 2007 9:29 am    Post subject: Re: Easytrieve - Remove CC character while using DISPLAY DD Reply with quote

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
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Wed Sep 26, 2007 10:14 am    Post subject: Reply with quote

I'm not much of Easytrieve programmer but have you tried using an edit mask when writing to a flat file?
Back to top
View user's profile Send private message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Thu Sep 27, 2007 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group