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

IS there a Picture clause for Indexed Items


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Annie P

New User


Joined: 26 Jun 2006
Posts: 7

PostPosted: Mon Jun 26, 2006 7:16 pm
Reply with quote

IS there a Picture clause for Indexed Items?
Back to top
View user's profile Send private message
calspach

New User


Joined: 05 May 2006
Posts: 32
Location: USA

PostPosted: Mon Jun 26, 2006 11:03 pm
Reply with quote

05 WH-100-1115-ENRL-CNT-TBL
OCCURS 25 TIMES
DESCENDING KEY IS WH-100-1115-ENRL-PROV-NUM
INDEXED BY WH-100-1115-ENRL-INDX.


You mean like that?

Not specifically, but I think if I remember right it's a pic s9(4) comp internally.
Back to top
View user's profile Send private message
creator.abhishek

New User


Joined: 07 May 2006
Posts: 32
Location: Pune

PostPosted: Tue Jun 27, 2006 11:22 am
Reply with quote

rt calspack
Back to top
View user's profile Send private message
Annie P

New User


Joined: 26 Jun 2006
Posts: 7

PostPosted: Tue Jun 27, 2006 1:08 pm
Reply with quote

OK.
Do we explicity declare it as,

01 IndexItem USAGE IS INDEX.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Jun 27, 2006 2:56 pm
Reply with quote

No
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Tue Jun 27, 2006 3:22 pm
Reply with quote

The INDEX phrase defines an item as an index data item. An index data
item is a 4-byte elementary item which can be used to store index name
values. It is not necessarily associated with any particular table.
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 writing into VSAM indexed tabl in PL1... PL/I & Assembler 8
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