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
 

 

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: 685
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: 685
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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 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
This topic is locked: you cannot edit posts or make replies. Get and display content of an address... lind sh CICS 1 Mon Aug 08, 2016 9:18 am
No new posts How to display data in separate lines... salilnigam1970 DFSORT/ICETOOL 2 Tue Jan 26, 2016 9:49 pm


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