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
 
Wanted to display the value coded in 88 level.

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

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Thu Jun 08, 2006 11:42 am    Post subject: Wanted to display the value coded in 88 level.
Reply with quote

Hi All, if I wanted to display the value which we have coded at 88 level, how to code it?

I have coded like shown below...


WORKING-STORAGE SECTION.

01 EMP-CODE PIC X(02).
88 MFG-DEPT VALUE 'MF'.

PROCEDURE DIVISION.

MAIN-PARA.
DISPLAY 'CODE IS:' EMP-CODE.(Here Iwanted to display the value MF)
STOP RUN.

Thanks!
Rathna.
Back to top
View user's profile Send private message

David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Thu Jun 08, 2006 12:24 pm    Post subject: Re: Wanted to display the value coded in 88 level.
Reply with quote

Just before your display statement you can have one more statement as

SET MFG-DEPT TO TRUE.

This will do what you want.

-regards,
David P.
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Thu Jun 08, 2006 2:02 pm    Post subject: Re: Wanted to display the value coded in 88 level.
Reply with quote

Hi David, Thank you very much. It workded fine.

Thanks!
Rathna.

David P wrote:
Just before your display statement you can have one more statement as

SET MFG-DEPT TO TRUE.

This will do what you want.

-regards,
David P.
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 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 Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 10 Wed Jul 19, 2017 5:43 pm

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