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
 
Regarding Occurs clause

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

New User


Joined: 22 May 2006
Posts: 15

PostPosted: Mon Sep 11, 2006 4:42 pm    Post subject: Regarding Occurs clause
Reply with quote

Hi,

I have

01 WS-A OCCURS 0025 TIMES INDEXED BY WS-A.
03 WS-B PIC 9(4) COMP.
03 WS-C PIC S9(7) COMP-3.

I Would like to move these fields in to display fields.

How can i code this fields in to DISPLAY fields.

and how can i move these fields in to the display fields.
Back to top
View user's profile Send private message

changeurlife2003
Currently Banned

New User


Joined: 22 May 2006
Posts: 15

PostPosted: Mon Sep 11, 2006 4:44 pm    Post subject: Regarding OCCURS Clause
Reply with quote

Hi,

I have

02 WS-A OCCURS 0025 TIMES INDEXED BY WS-A.
03 WS-B PIC 9(4) COMP.
03 WS-C PIC S9(7) COMP-3.

I Would like to move these fields in to display fields.

How can i code this fields in to DISPLAY fields.

and how can i move these fields in to the display fields.
Back to top
View user's profile Send private message
sree_sree_sree

New User


Joined: 30 Aug 2006
Posts: 13

PostPosted: Mon Sep 11, 2006 8:19 pm    Post subject: Re: Regarding Occurs clause
Reply with quote

Hi,

we cant display directly Comp defined fields

If u want to display these comp varibles, simply move these fileds to another varible which are not defined as a comp variables and diaplay
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 Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm
No new posts [SQL0029] INTO clause missing from em... HABBIE DB2 2 Fri Sep 04, 2015 3:54 pm
No new posts Multiple OCCURS depending on in same ... muralirajansm COBOL Programming 6 Fri Aug 21, 2015 4:23 pm

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