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

Logic needed on Arrays


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

New User


Joined: 10 May 2008
Posts: 8
Location: Mumbai

PostPosted: Fri May 23, 2008 12:38 pm
Reply with quote

But Iam using index for both the tables. and also the prod 01-40 is not numeric its alphabetic(AA,BB,CC).
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri May 23, 2008 6:50 pm
Reply with quote

Me
Quote:
What is the range of the product-variable values (e.g. lowest/highest val)? Are they contiguous? If you can, use actual values.
You
Quote:
lowest 1 highest around 40 ...Repeated many times in the table

The reason I asked all those ques was to help me understand the problem and offer an approach to solve it. If you don't provide the correct info, it makes things difficult.

Anyway, you could change the logic to include a table lookup of the O/P table to get the O/P subscript value and use that for the move.
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 Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts Advice on Arrays PL/I & Assembler 10
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
Search our Forums:

Back to Top