Hello,
Actually i have been given a task for to write jcl for compiling and running the cobol program
Who has given such an assignment? Programmers should
never create compile/link jcl - it is the easiest way to corrupt an environment.
does anybody have syntax for jcl for compiling do post it...........
It is (should be) already on your system. If you need to make a copy for some strange reason, look at the output from some other compile you will have jcl that works for your system.
Many moderstors (on several forums) delete posted compile jcl. . .
Also, your execute jcl has a problem - sysin should probably not be a sysout. . .