View previous topic :: View next topic
|
Author |
Message |
chinnarajr
New User
Joined: 01 Jun 2007 Posts: 16 Location: Chennai
|
|
|
|
hi,
I have used the pound sign '£' inside cobol program.
But when it is written to output file , it is not getting displayed.
Even i am not able to see when i used in DISPLAY statement.
Please help me to resolve and provide sample code using this as soon as possible.
Thanks
Chinna. |
|
Back to top |
|
|
ParagChouguley
Active User
Joined: 03 Feb 2007 Posts: 175 Location: PUNE(INDIA)
|
|
|
|
'£' is represented in hex by X'B1'.
So try following code
Code: |
MOVE X'B1' TO VARIABLE
DISPLAY VARIABLE
|
--Parag |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
I'd guess that the codepage in effect when you try to display it does not have it.....
Does the correct value show when you display with hex on? |
|
Back to top |
|
|
chinnarajr
New User
Joined: 01 Jun 2007 Posts: 16 Location: Chennai
|
|
|
|
Hi CICS guy,
yes. it got displayed as B1 in hex on mode in output file.
thanks
chinna |
|
Back to top |
|
|
chinnarajr
New User
Joined: 01 Jun 2007 Posts: 16 Location: Chennai
|
|
|
|
Refresh |
|
Back to top |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
Mostly £ is used to dispay for Amount Filed (in Euro).
If u want to display as 123£ in the report,
First defined amt vaiable s9(9)
Then Defined filler after amt field with the value '£' it will be dispalyed after Amt Field. |
|
Back to top |
|
|
|