HP3000-L Archives

April 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Hone <[log in to unmask]>
Reply To:
Michael Hone <[log in to unmask]>
Date:
Wed, 19 Apr 2000 16:39:52 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Would somebody mind posting an example of a WHILE/ENDWHILE loop in a stream
job. What I am wanting to do is stream a database resizing job from my
DAYCLOSE do something like this:

DAYCLOSE

DUMP

!STREAM AUTOSIZE.USERSTR2;HIPRI
!SETVAR LOOPX 2
!SETVAR LOOPING 1
!WHILE LOOPING <=!LOOPX
          !CONTINUE
          !IF HPJOBCOUNT = 2
          !PAUSE 60
          !ENDIF
!SETVAR !LOOPX + 1
!ENDWHILE

THE REST OF DAYCLOSE RUNS

After the autosize job finishes, HPJOBCOUNT is no longer = to 2 so DAYCLOSE
goes on.  What I have above doesn't quite do it.

Thank you in advance.

ATOM RSS1 RSS2