× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: ENDSBS *ALL in batch
  • From: "Graziano, Marie" <mgraziano@xxxxxxxxxxxxxxx>
  • Date: Mon, 21 Aug 2000 09:56:10 -0500

Write a CL that will put the job in a DLY wait  until the time you want to
start it.  Then the cl when done will end the job.  It must be started from
DSP01 by the operator but it works great.

Marie Graziano

 -----Original Message-----
From:   Mike.Barton@ecsoft.co.uk [mailto:Mike.Barton@ecsoft.co.uk] 
Sent:   Monday, August 21, 2000 9:12 AM
To:     MIDRANGE-L@midrange.com
Subject:        Re: ENDSBS *ALL in batch


>For our weekly backup program, we want to end the system to a restricted
>condition. The program works great when run from a command line, but bombs
>when run from the internal job scheduler (WRKJOBSCDE) or the advanced job
>scheduler (GO JS). The error message I'm getting is:
>
>4800 - ENDSBS SBS(*ALL) OPTION(*IMMED)
>CPF1052 Escape 40 ENDSBS *ALL not allowed in current environment.
>    ENDSBS *ALL is not allowed only from an interactive job that is
>started from a *SIGNON workstation entry in the controlling subsystem.
>ENDSBS *ALL is not allowed from a target pass-through job.
>
>The job is submitted to the QCTL subsystem, running as user QSYSOPR.

Loyd

     one way is to use TNAPI.  This will effectively allow u to run an
interactive command in batch.

Either go to www.as400network.com (in the Shareware Code)
or try http://www.ediconsulting.com/download.html.

Mike


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.