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
 
Graphic datatype Display-1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
bishal saha

New User


Joined: 21 Feb 2008
Posts: 1
Location: kolkata

PostPosted: Thu Feb 21, 2008 10:47 am    Post subject: Graphic datatype Display-1
Reply with quote

this is my program:

id division.
program-id. bishal.
data division.
working-storage section.
01 a pic g(5) usage display-1.
procedure division.
move '12345' to a.
display a.
stop run.


error is move statement has data compatibility mismatch.
Back to top
View user's profile Send private message

agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu Feb 21, 2008 3:52 pm    Post subject:
Reply with quote

See the valid elementary moves

It does not say that Alphanumeric TO DBCS is a valid move.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 21, 2008 8:30 pm    Post subject:
Reply with quote

Take a look at Table 44.....
Back to top
View user's profile Send private message
raghumale

New User


Joined: 21 Feb 2008
Posts: 6
Location: banglore

PostPosted: Fri Feb 22, 2008 12:25 pm    Post subject:
Reply with quote

hi
i think there is no concept of display -1 and g
better try by replacing with display.
01 a pic 9(5) usage display.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Fri Feb 22, 2008 1:32 pm    Post subject:
Reply with quote

Quote:
i think there is no concept of display -1 and g

And you think that whatever you think is always correct? icon_lol.gif
Read through the link we provided and you should get a clue.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Fri Feb 22, 2008 2:45 pm    Post subject:
Reply with quote

Hi Raghumale....


Please refer the link for your understanding.


http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp?topic=/rzajp/rzajpcobgraphic.htm
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 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 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
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

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