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
 

 

catch 900th run of a loop of 1000 times with a 9(2) counter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
jitendramishra

New User


Joined: 30 Oct 2007
Posts: 2
Location: bangalore

PostPosted: Thu Nov 08, 2007 1:03 am    Post subject: catch 900th run of a loop of 1000 times with a 9(2) counter
Reply with quote

i ve a loop" PERFORM 1000 TIMES"

I ve to capture the 900th run. Can i do it using a 9(02) counter ?

I was provided only this counter
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Nov 08, 2007 1:06 am    Post subject: Re: catch 900th run of a loop of 1000 times with a 9(2) coun
Reply with quote

jitendramishra wrote:
i ve a loop" PERFORM 1000 TIMES"

I ve to capture the 900th run. Can i do it using a 9(02) counter ?

I was provided only this counter


Is the counter by any chance COMP.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Nov 08, 2007 4:28 am    Post subject:
Reply with quote

Hello jitendramishra,

I suspect you will get no suitable answers in this forum either. . .

As was explained to you before, using only a 9(02) counter, you cannot count to 900. If you are willing to adjust to a 2-byte counter, it becomes simple. If you use a second counter and count to 90 ten times, you can get to 900.

If you get an answer that works for you, it would be interesting to see.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts after TBSARG: Row 370 from 1000 Pedro TSO/ISPF 1 Fri Apr 14, 2017 2:32 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am
No new posts OMEGAMON to see In-DB2 times and Wait... Archana89 IBM Tools 4 Fri Mar 04, 2016 11:28 am


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