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
 

 

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: 1224
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: 2502
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
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm


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