Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ENTER-PROCEDURE Start procedure in background as batch job

The ENTER-PROCEDURE command can be used to start a procedure as a batch job. The command is part of the BS2000/OSD configuration (as of BS2000/OSD V7.0).

ENTER-PROCEDURE                                                                      Alias: ENP

FROM-FILE = <filename 1..54 without-gen> / *LIBRARY-ELEMENT(...)


*LIBRARY-ELEMENT(...)




LIBRARY = <filename 1..51 without-gen>




,ELEMENT = <composed-name 1..38>

,PROCEDURE-PARAMETERS = *NO / <text 0..1800 with-low>

,PROCESSING-ADMISSION = *SAME / *PARAMETERS(...)


*PARAMETERS(...)




USER-IDENTIFICATION = *NONE / <name 1..8>




,ACCOUNT = *NONE / <alphanum-name 1..8>




,PASSWORD = *NONE / <c-string 1..8> / <c-string 9..32> / <x-string 1..16> / *SECRET

,PROCEDURE-PASSWORD = *NONE / <x-string 1..8> / <c-string 1..4> /







<integer -2147483648..2147483647> / *SECRET

,CRYPTO-PASSWORD = *NONE / <c-string 1..8> / <x-string 1..16> / *SECRET

,HOST = *STD / <c-string 1..8> / *ANY

,JOB-CLASS = *STD / <name 1..8>

,JOB-NAME = *NO / <name 1..8>

,MONJV = *NONE / <filename 1..54 without-gen-vers>

,JV-PASSWORD = *NONE / <c-string 1..4> / <x-string 1..8> / *SECRET /







<integer -2147483648..2147483647>

,JOB-PRIORITY = *STD / <integer 1..9>

,RERUN-AFTER-CRASH = *NO / *YES

,FLUSH-AFTER-SHUTDOWN = *NO / *YES

,SCHEDULING-TIME = *STD / *PARAMETERS(...) / *BY-CALENDAR(...)


*PARAMETERS(...)




START = *STD / *SOON / *IMMEDIATELY / *AT-STREAM-STARTUP / *WITHIN(...) / *AT(...) /








*EARLIEST(...) / *LATEST(...)





*WITHIN(...)







HOURS = 0 / <integer 0..23 hours>







,MINUTES = 0 / <integer 0..59 minutes>





*AT(...)







DATE = *TODAY / <date>







,TIME = <time>





*EARLIEST(...)








DATE = *TODAY / <date>








,TIME = <time>






*LATEST(...)








DATE = *TODAY / <date>








,TIME = <time>





,REPEAT-JOB = *STD / *NO / *DAILY / *WEEKLY / *AT-STREAM-STARTUP / *PERIOD(...)





*PERIOD(...)








HOURS = 0 / <integer 0..23 hours>








,MINUTES = 0 / <integer 0..59 minutes>



*BY-CALENDAR(...)





CALENDAR-NAME = <filename 1..54 without-gen-vers>





,SYMBOLIC-DATE = <filename 1..20 without-cat-user-vers> /









<partial-filename 2..20 without-cat-user>


,LIMIT = *STD / <integer 1..32767> / *BY-DATE(...)



*BY-DATE(...)





DATE = <date>





,TIME = <time>


,RESOURCES = *PARAMETERS (...)



*PARAMETERS(...)





RUN-PRIORITY = *STD / <integer 30..255>





,CPU-LIMIT = *STD / *NO / <integer 1..32767 seconds>





,SYSLST-LIMIT = *STD / *NO / <integer 0..999999>





,SYSOPT-LIMIT = *STD / *NO / <integer 0..999999>


,LOGGING = *STD / *YES / *NO


,LISTING = *NO / *YES


,JOB-PARAMETER = *NO / <c-string 1..127>


,SYSTEM-OUTPUT = *STD / *PRINT / *DELETE


,ASSIGN-SYSTEM-FILES = *STD / *PARAMETERS(...)



*PARAMETERS(...)





SYSLST = *STD / *PRIMARY / *DUMMY / <filename 1..54>





,SYSOUT = *STD / *PRIMARY / *DUMMY / <filename 1..54>


,PROTECTION = *NONE / *CANCEL



Return codes

(SC2)

SC1

Maincode

Meaning


0CMD0001Command executed
20CMD0002Command executed with warning e.g. DELETE=*YES ignored for repeat job or when a library element is specified

1CMD0202Syntax error in command

32CMD0221System error

64JMS0630Semantic or privileges error e.g. processor, catalog ID, job class unknown; MONJV not accessible

64JMS0640Error on accessing the procedure file e.g. not a SAM or ISAM file, file empty, missing access right

64JMS0670Error in a remote job

130JMS0620No further storage space or TSN available; or specified MONJV is already monitoring a job

130JMS0650MSCF not available, or no connection with the specified processor