Page 1 of 1

jcl to execute java code

PostPosted: Mon Oct 11, 2010 5:46 pm
by vvjj
My requirement is to read a file and put the contents of the file into a specified web page. This job is going to be in the scheduler.
Please help me with some sample jcl for this.

Re: jcl to execute java code

PostPosted: Mon Oct 11, 2010 5:53 pm
by Robert Sample
Why would access to a web page need to go through a scheduler?

If your site has the IBM HTTP server running, why not use MVSDS?

Deciding, in advance, that you have to use Java sounds a lot like a solution looking for a problem. Have you researched BPXBATCH in the Unix System Services manuals? BPXBATCH is how you execute Unix System Services programs (or shell scripts) in JCL.

Re: jcl to execute java code

PostPosted: Mon Oct 11, 2010 6:16 pm
by vvjj
hi,
thx for replying. the requirement is liket hat only
Can u give me a sample jcl for BPXBATCH utility which reads a mainframe file.

thanks

Re: jcl to execute java code

PostPosted: Mon Oct 11, 2010 6:25 pm
by Robert Sample
If you are unable to find the Unix System Services manuals on the IBM web site and look up for yourself the BPXBATCH job -- or you are not able to ask your coworkers, team leader, or site support group for sample JCL -- perhaps you need to re-think your idea of a career in IT. Most IT careers require some independent thought and action, not being spoon-fed the exact page of the exact manual you need to use.

Besides, there is no sample JCL where BPXBATCH reads a mainframe file -- you would have to customize the sample job yourself since BPXBATCH does nothing but execute a shell script or Unix System Services program.

Re: jcl to execute java code

PostPosted: Tue Oct 19, 2010 9:30 am
by denis
Nonsense deleted. . .

Another will cause removal of user id.


d

Re: jcl to execute java code

PostPosted: Tue Oct 19, 2010 9:49 am
by dick scherrer
Hello and welcome to the forum,

This is a technical forum and not a playground for spam and advertising nonsense. . .

Thank you.