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

Arrays and redefine


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rohit-natural

New User


Joined: 06 Jun 2006
Posts: 3

PostPosted: Tue Jun 20, 2006 6:03 pm
Reply with quote

Hi all
I have the following array in my lda

1 date A 4 (1:6)
R 1 date /* REDEF. BEGIN : U29RNO
2 reDATE (1:6)
3 month A 2
3 day A 2

Please let me know if i am making any mistake in this declaration.
The reason for such doubt is that i am not able to access month and day with index numbers. however access to month and day without index numbers is possible.
thanks in advance
Regards
rohit
Back to top
View user's profile Send private message
atulrukmangad

New User


Joined: 10 Apr 2006
Posts: 13

PostPosted: Thu Jun 22, 2006 3:47 pm
Reply with quote

HI Rohit,
I think you can try #date.month(<index>) to access the month and day where index ranges from 1 to 6. Please try out and let us know the result.


Atul
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Advice on Arrays PL/I & Assembler 10
No new posts Easytrive Redefine CA Products 4
No new posts Redefine SYS1.PROCLIB JCL & VSAM 12
No new posts Redefine Numeric to Alphanumeric COBOL Programming 4
No new posts Initializing filler default value whe... COBOL Programming 6
Search our Forums:

Back to Top