Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Write a record with quotes in output file using easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Write a record with quotes in output file using easytrieve
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

Site Director


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

PostPosted: Fri Oct 10, 2008 12:29 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 3 Thu Mar 30, 2017 10:34 am
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us