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

How to populate Stem


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Mon Jan 26, 2009 5:41 am
Reply with quote

HI,

I am following the below mentioned steps to populated Stem

SUB = 1
DO Until EndOfFile
Array.Sub = left(FIleRec,7)
Sub = Sub + 1
End

But the array is not being populated.
Is there any other way to populate Stems.

Regards,
Tushar
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jan 26, 2009 11:27 am
Reply with quote

Can you show your full code? The loop you have posted looks fine (except "until endoffile") . It might be something else.

O.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Mon Jan 26, 2009 12:20 pm
Reply with quote

Quote:
The loop you have posted looks fine( except ... )

...and except the missing read of record in the loop
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts STEM usage in REXX CLIST & REXX 14
No new posts passing stem variable with VPUT/VGET ... CLIST & REXX 6
No new posts Bad arithmetic conversion when assign... CLIST & REXX 4
No new posts Can you manually set an EOF marker in... CLIST & REXX 5
Search our Forums:

Back to Top