In the previous example, I would code RESTART=STEP4 on the Job card. These
jobs are run manually, outside of a scheduler.
Don

On Wed, Apr 7, 2010 at 9:53 AM, R.S. <r.skoru...@bremultibank.com.pl> wrote:

> Donald Johnson pisze:
>
> Hi there! Can some one point me to documentation that would explain what
>> happens in a JCL stream with IF/ELSE statements and the job is trying to
>> be
>> restarted in the middle?
>>
>> For example, if I have:
>>
>> Step1
>> Step2
>> IF Step2.rc <4 Then
>>    Step3
>> IF Step3.rc = 0 Then
>>    Step4
>>    Step5
>> ENDIF (step3)
>> ENDIF (step2)
>>
>> And try to restart at Step4, all steps have flushed. I have a good idea
>> that
>> it is because the IF tests could not work (there is no Stepx.RUN), so even
>> though restarting in Step4, the interpreter knows it is inside the IF
>> statements.
>>
>> Can someone point me in the right direction, so I can help my user?
>>
>
> Define "job restarted in the middle". If you're using job scheduler then it
> is up to the scheduler to interpret IFs.
>
>
> --
> Radoslaw Skorupka
> Lodz, Poland
>
>
> --
> BRE Bank SA
> ul. Senatorska 18
> 00-950 Warszawa
> www.brebank.pl
>
> S d Rejonowy dla m. st. Warszawy XII Wydzia  Gospodarczy Krajowego Rejestru
> S dowego, nr rejestru przedsi biorców KRS 0000025237
> NIP: 526-021-50-88
> Wed ug stanu na dzie  01.01.2009 r. kapita  zak adowy BRE Banku SA (w ca o
> ci wp acony) wynosi 118.763.528 z otych. W zwi zku z realizacj  warunkowego
> podwy szenia kapita u zak adowego, na podstawie uchwa y XXI WZ z dnia 16
> marca 2008r., oraz uchwa y XVI NWZ z dnia 27 pa dziernika 2008r., mo e ulec
> podwy szeniu do kwoty 123.763.528 z . Akcje w podwy szonym kapitale zak
> adowym BRE Banku SA b d  w ca o ci op acone.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to