Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to display quotes in the BMS screen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
sridharbabu

New User


Joined: 09 May 2010
Posts: 3
Location: Hyderabad

PostPosted: Sun Jun 13, 2010 9:30 am    Post subject: How to display quotes in the BMS screen
Reply with quote

hi

i am sridhar ,i am working for capgemini(pune). My doubt is how to display quotes in the BMS SCREEN

tell me code for following words in the bms coding

ex1: CAN'T
ex2: '1098'

EDITED: Do not use Color and Font unnecessarily.
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Jun 13, 2010 11:47 am    Post subject: Re: how to display quotes in the screen ?
Reply with quote

sridharbabu wrote:
My doubt is how to display quotes in the BMS SCREEN
tell me code for following words in the bms coding
ex1: CAN'T
ex2: '1098'
From what programming language (COBOL, Assembler, ???) are you trying to get the 'single quote' to apperar on the screen?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Sun Jun 13, 2010 2:48 pm    Post subject: Reply to: how to display quotes in the screen ?
Reply with quote

Welcome to the Forum, Sridhar

If you mean the initial value in the DFHMDF macro, you have to follow the simple assembler rule: double the quote:
Code:
          DFHMDF INITIAL='CAN''T'
          DFHMDF INITIAL='''1098'''
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Sun Jun 13, 2010 5:32 pm    Post subject: Reply to: how to display quotes in the screen ?
Reply with quote

Use hex notation -

Code:

03  WS-CANT PIC  X(07).
03  WS-1098 PIC  X(06).

MOVE ' CAN T' TO WS-CANT.
MOVE X'7D' TO WS-CANT (1:1)
MOVE X'7D' TO WS-CANT (5:1).
MOVE X'7D' TO WS-CANT (LENGTH OF WS-CANT:).
MOVE ' 1098' TO WS-1098.
MOVE X'7D' TO WS-1098 (1:1).
MOVE X'7D' TO WS-1098 (LENGTH OF WS-1098:).

Bill
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us