jcl to execute java code



Support for Java SE, EE & ME, JVM, JNI, JDBC, EJB, JFC, JPDA, JAAS,JCE, JAXP, XML and Java API.

jcl to execute java code

Postby vvjj » Mon Oct 11, 2010 5:46 pm

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.
vvjj
 
Posts: 3
Joined: Thu Aug 26, 2010 9:13 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl to execute java code

Postby Robert Sample » Mon Oct 11, 2010 5:53 pm

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.
Robert Sample
Global moderator
 
Posts: 3657
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 270 times

Re: jcl to execute java code

Postby vvjj » Mon Oct 11, 2010 6:16 pm

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
vvjj
 
Posts: 3
Joined: Thu Aug 26, 2010 9:13 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl to execute java code

Postby Robert Sample » Mon Oct 11, 2010 6:25 pm

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.
Robert Sample
Global moderator
 
Posts: 3657
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 270 times

Re: jcl to execute java code

Postby denis » Tue Oct 19, 2010 9:30 am

Nonsense deleted. . .

Another will cause removal of user id.


d
denis
 
Posts: 1
Joined: Mon Oct 18, 2010 9:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl to execute java code

Postby dick scherrer » Tue Oct 19, 2010 9:49 am

Hello and welcome to the forum,

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

Thank you.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to Mainframe Java

 


  • Related topics
    Replies
    Views
    Last post