Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Arrays and redefine

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Arrays and redefine
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    Post subject: Re: Arrays and redefine
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Redefine Numeric to Alphanumeric suraaj COBOL Programming 4 Mon Oct 06, 2014 9:16 pm
No new posts Initializing filler default value whe... dsivapradeep COBOL Programming 6 Thu Feb 13, 2014 11:17 am
No new posts MIN-, MAX-function with arrays Auryn COBOL Programming 3 Fri Oct 25, 2013 7:45 pm
No new posts Multiple 400-byte redefine layouts &a... Scott McC Compuware & Other Tools 14 Tue Jul 23, 2013 10:15 pm
No new posts Issue with REDEFINE clause chetanambi COBOL Programming 15 Sat Aug 25, 2012 8:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us