A loop "perform 1000 times"
U hav to kno the 900th occurance, but u r provided with a counter of pic 9(2). Now how can u do it?
how will u capture the 900th run , with a counter 9(02)
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: how will u capture the 900th run , with a counter 9(02)
Hello,
Please describe how this requirement originated.
As worded, it makes little or no sense.
Please describe how this requirement originated.
As worded, it makes little or no sense.
Hope this helps,
d.sch.
d.sch.
Re: how will u capture the 900th run , with a counter 9(02)
look dick, these r the q i was asked in an intvw.. now i cant ask the interviewer any thing... plz help me if possible
Re: how will u capture the 900th run , with a counter 9(02)
If the question was how to keep track of the loops with a two byte number, then use packed or binary........
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: how will u capture the 900th run , with a counter 9(02)
Hello,
When questions like this are posted, we cannot help much. From what i've been able to observe over many, many such questions, it is usually because there was a communication breakdown between the interviewer and the person being interviewed.
I suspect that either the question is incomplete or incorrect or the answer would need to be "we cannot capture the 900th run using only a counter 9(02)". There is also the possibility that the question is as CG suggests and the requirement was really a 2-byte counter, not a "9(02)" counter.look dick, these r the q i was asked in an intvw.. now i cant ask the interviewer any thing... plz help me if possible
When questions like this are posted, we cannot help much. From what i've been able to observe over many, many such questions, it is usually because there was a communication breakdown between the interviewer and the person being interviewed.
Hope this helps,
d.sch.
d.sch.
Re: how will u capture the 900th run , with a counter 9(02)
that may be true, bt what i m asking is what i faced.. now if u cant answer.. dont make it stupid question.. b coz u also hav a limit.. its ok
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: how will u capture the 900th run , with a counter 9(02)
Hello,
Be assured that none of the moderators or other senior people intend to "make it stupid".
I believe you have been answered. Which part of "you cannot do that" do you not understand? We were merely trying to offer alternatives that would fit for you.now if u cant answer.. dont make it stupid question
Be assured that none of the moderators or other senior people intend to "make it stupid".
Hope this helps,
d.sch.
d.sch.
Re: how will u capture the 900th run , with a counter 9(02)
any way whoever has made it stupid, i dont kno....
Look here i m not getting the real time environment to chk all these, thats the problem i m sendingit to here
And whenever i wil get the answer, i must make u all kno it...ok
Look here i m not getting the real time environment to chk all these, thats the problem i m sendingit to here
And whenever i wil get the answer, i must make u all kno it...ok
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: how will u capture the 900th run , with a counter 9(02)
Hello,
Have you had any luck finding a way to do what you asked?And whenever i wil get the answer, i must make u all kno it...ok
Hope this helps,
d.sch.
d.sch.
-
- Posts: 5
- Joined: Thu Oct 23, 2008 5:38 am
- Skillset: cobol, cics, ims/db, ims/dc, tso, ispf, rexx, clist, uitlities,
vsam, db2, jcl, assembler - Referer: web search
Re: how will u capture the 900th run , with a counter 9(02)
Excellent patience and perseverance Dick