Page 1 of 1

Cobol Program Template

Posted: Wed Jun 07, 2006 3:12 pm
by rupeshg
Hi Everyone,

I am currently working on DataStage MVS version. I designed a job and generated code for the same.

I could see that to generate JCL (Compile and Run) we have got JCL Templates, but the mystery is how is the cobol code generated? From which template? Does DS really use any template?

Since this code is generated at the client end, I was curious to know which file (could be encrypted) does it uses but could not find any.

Could somebody tell me how exactly all this works? Any clues?

Regards,
Rupesh

Posted: Wed Jun 07, 2006 4:30 pm
by ray.wurlod
JCL templates exist so that you can customize the JCL for your particular installation.

COBOL source generation is a method of each stage type and is not negotiable/customizable. After all, what would you change? Generic function calls are made to ARDRTLIB (from memory), and the JCL can specify where that is.