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 |
I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?
how can u understand ps and pds from their names ?
Can we write same stepname for one or more steps in on job ?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
what is use of space parameter in dd statement?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
When space is allocated for an output dataset, what units can be used?
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
what are the ways of passing data to a cobol program from jcl?
Why do you use a control card?
how to count the number of members in pds?
whats the difference between empty and noempty of GDG?