IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Graphic datatype Display-1


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 691
Location: Earth

PostPosted: Thu Feb 21, 2008 3:52 pm
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: 2146
Location: At my coffee table

PostPosted: Thu Feb 21, 2008 8:30 pm
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
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: 691
Location: Earth

PostPosted: Fri Feb 22, 2008 1:32 pm
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: 275
Location: Bang,iflex

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

Hi Raghumale....


Please refer the link for your understanding.


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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to display the leading zeros of a... DB2 7
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts Unable to display comp variable COBOL Programming 4
No new posts Adding FIND to ISPF Panel display of ... TSO/ISPF 3
Search our Forums:

Back to Top