IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Write a record with quotes in output file using easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vishabus

New User


Joined: 25 Oct 2006
Posts: 24
Location: India

PostPosted: Fri Oct 10, 2008 11:17 am
Reply with quote

Hi,

I need to write a record with quotes in an output file using easytrieve.

E.g the output file should have a record like:

THIS ISN'T WHAT I WANT.

Can anyone suggest how to go about doing this in easytrieves?

Thanks,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 10, 2008 12:29 pm
Reply with quote

Hello,

From the Easytrieve doc:
Quote:
Alphabetic literals are words that are meant to be taken literally. They are
enclosed in apostrophes, and can be 254 characters long. They can only contain
EBCDIC characters. Whenever an alphabetic literal contains an embedded
apostrophe, you must code two apostrophes.
For example, code the literal O'KELLY as:
'O''KELLY'
Back to top
View user's profile Send private message
vishabus

New User


Joined: 25 Oct 2006
Posts: 24
Location: India

PostPosted: Sat Oct 11, 2008 12:42 pm
Reply with quote

Thanks Dick ...!!!
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Discard record with 0 entry if Dup... SYNCSORT 7
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top