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

Regarding Occurs clause


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts To search DB2 table based on Conditio... DB2 1
No new posts Updating a 1 byte thats in occurs mul... DFSORT/ICETOOL 6
No new posts NOT IN clause in COBOL pgm COBOL Programming 8
No new posts SUSBSCRIPT WITH SIGN IN PIC CLAUSE COBOL Programming 3
No new posts usage of CASE in WHERE clause DB2 10
Search our Forums:

Back to Top