how to run batch program without jcl?
Answers were Sorted based on User's Feedback
Answer / richards
No.. A JCL is needed is submit a Cobol Batch program..
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / sivakumar sekharannair
Batch programs are those are invoked by a language called
JCL. It can be executed either manually by submitting the
JCL or by a scheduler which has the particular JCL in it.
Manually submitted by user submitting the job.
Scheduler submission can be either time trigger or dataset
trigger.
If given a particular time, the scheduler trigers the job
in that particular time
Or
when the particular dataset is available in the mainframe
(should be cataloged and available)the job is triggered.
Never ever the batch job can run without a jcl
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / rishab
You need to compile your program.
Once the load module is generated you can use tso command:
TSO CALL 'abc.pqr.xyz(progA)'
Here abc.pqr.xyz is your load module
and progA is your program name (best practice to have your
program member name same as your program-id).
| Is This Answer Correct ? | 1 Yes | 0 No |
When will we need to specify Space parameter ?
wht do u mean by inrec and outrec ?
Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?
lines(1,cancel)??What is meant by that??Plz explain it....
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
How do you overcome this limitation ?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
how you will define a temporary dataset in jcl?