Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Can we use comp item in display stmt

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
v.sasikumar

New User


Joined: 31 Jan 2004
Posts: 2

PostPosted: Mon Apr 05, 2004 1:53 pm    Post subject: Can we use comp item in display stmt
Reply with quote

hi,
can we use comp item in display stmt?
ex: DISPLAY DATA-NAME1

HERE DATA-NAME1 IS COMP USAGE
Back to top
View user's profile Send private message
References
PostPosted: Mon Apr 05, 2004 1:53 pm    Post subject: Re: Can we use comp item in display stmt Reply with quote

xzsymr

New User


Joined: 06 Jun 2003
Posts: 7
Location: NZ

PostPosted: Mon Apr 05, 2004 2:05 pm    Post subject:
Reply with quote

yes you can but the output wont be that readable. Suggest that you move the field to a display item first and use the display verb to display your display field
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Tue Apr 06, 2004 11:34 am    Post subject:
Reply with quote

Hello xzsymr,

look at the following link for more details

http://www.cis.scu.edu.tw/oproom/doc/acucobol/docs/comprun/gt400419.htm

Hope this helps

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1