GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Mainframe  >  IDMS

 Print  |  
Question:  How can you submit a job through cobol program?



August 08, 2007 06:52:26 #2
 Arnab   Member Since: Visitor    Total Comments: N/A 

RE: How can you submit a job through cobol program?
 
Hi,
You can submit a job from a cobol pgm.

Write JCL cards to a dataset with //xxxxxxx SYSOUT= (A,INTRDR) where 'A' is output class, and dataset should be opened for output in the program. Define a 80 byte record layout for the file.
INTRDR is a internal reader that can be used to submit jobs to JES2 .

Thanks.

     

 

Back To Question