Hi Please try to be to-the-point.
1) How to INCLUDE a JCL segment in a JOB ? (A Small example)
2) What is SPOOL and what is SPOOL FULL ? and how to direct
the output of a Jobstep to SPOOL ?

Answer Posted / praveen bejjanki

1) Not sure what a JCL segment in a job
2) Spool is the place where we will see the status of the
submitted job. generally SDSF or IOF will be the spool.
SPOOL - Simultaneous Pheriperal Operation Online.
3) To direct the output of a jobstep to spool:
The DD stmt of the jobstep should be like below
//DDname DD sysout=*

But most of the people think like if we give like
//SYSPRINT DD SYSYOUT=*
//SYSOUT DD SYSOUT=*
output will be routed to spool which is wrong.
But sysprint DD stmt is used to route all the
messages,stmts generated by the utility(cobol program) to
be printed in spool
& sysout is used for displaying the Display stmts in cobol
program.

I hope this might give a clear picture of what you are
looking for

Can anyone tell me what a job segment in job

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of a dd statement?

659


What is catelog procedure and how many catelog procedure to use in one job?

7459


Explain the purpose of dd * statement in jcl?

643


A dd statement consists of 4 fields. Name them?

932


What parameter directs the output of the job log dataset?

766






I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8683


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

860


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

721


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

650


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5062


what is SOC4 error?

740


how you can direct the data to spool using SYSOUT option?

930


What is use of restart and how to use it?

771


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3530