Hi all
I am facing a problem while using REXX.
I have a double dimension array "Record.x.y".
x can take values from 1 to 5 as per need
y can take any positive value based on the type of records (type x--> 1,2,3,..)
I need to know the no. of entries in an double dimension array. I can get the no. of records in single dimension array using REC.0 but i am not able to do the same for double dimension array Record.x.y.
If I do " Say Record.x.0" it simply prints it as it is and not the no. of records.
I tried:
Temporary. = Record.x.
Say Temporary.0
But the attempt proved to be futile.
Please help me with this problem.
length of double dimension arrey in REXX
-
- Posts: 1
- Joined: Mon Jan 28, 2008 4:20 pm
- Skillset: COBOL, REXX, JCL, CICS, DB2, IMS
- Referer: GOOGLE
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: length of double dimension arrey in REXX
I've read your post a couple of times, and then read whatever I could find regarding REXX stem variables. As far as I know, and can tell at this point, there is no built-in function that REXX uses to track the number of occurences of a stem variable. As far as I know, this function is, and always has been, up to the programmer to handle.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Finding gaps in history table (slowly changing dimension 2)
by Ron Klop » Wed Jan 27, 2021 2:15 pm » in DB2 - 4
- 2233
-
by enrico-sorichetti
View the latest post
Fri Jan 29, 2021 1:35 am
-
-
-
Convert fixed-length input records to variable-length output
by xcspg3 » Wed Oct 23, 2024 1:45 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1431
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
Merge multiple fixed length files of different record length
by corvette1982 » Mon Mar 01, 2021 11:46 pm » in JCL - 8
- 5253
-
by willy jensen
View the latest post
Tue Mar 02, 2021 3:02 am
-
-
- 14
- 8188
-
by indianrajput
View the latest post
Wed Nov 24, 2021 11:33 pm
-
-
Replace a string with another string with different length
by Devrana » Sun Jan 19, 2025 3:23 pm » in JCL - 1
- 1634
-
by sergeyken
View the latest post
Sun Jan 19, 2025 11:07 pm
-