IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Submiting REXX to JES


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deveshyahoo

New User


Joined: 28 Jan 2008
Posts: 10
Location: noida

PostPosted: Mon May 25, 2009 12:45 pm
Reply with quote

As per my knowledge if i have a job in .txt file on my system and i want to submit it in mainframe i can ftp it directly to JES using following commands
quote site filetype=jes
put job.txt

where job.txt will contain the JCL to be submitted.
i tried the above thing and it works fine.

My requirement is to execute a REXX directly through ftp.
i tried FTPing a rexx code to JES but it did not work.

Please let me know how to do it?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon May 25, 2009 12:48 pm
Reply with quote

Quote:
My requirement is to execute a REXX directly through ftp.

Your requirement cannot be satisfied

to execute something You must submit a job
search the forums for snippets on batch jobs to execute a REXX script
( obviously the job must be modified according to Your organization setup)
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon May 25, 2009 1:33 pm
Reply with quote

look for the quote site filetype=jes syntax.

O.
Back to top
View user's profile Send private message
deveshyahoo

New User


Joined: 28 Jan 2008
Posts: 10
Location: noida

PostPosted: Tue Jun 02, 2009 2:28 pm
Reply with quote

Quote:
look for the quote site filetype=jes syntax.


i am already using quote site filetype=jes.
when i ftp a jcl it works fine but my problem is that i do not know the accounting parameters for the jcl so i want to submit a rexx code to fetch the accounting parameters so that i can trigger the JCL.

that's the reason i am trying to find ways to submitt REXX.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 02, 2009 2:46 pm
Reply with quote

Code:
QUOTE SITE FILETYPE=JES
requires you to already have a full set of JCL ready to FTP over. This does not support use of REXX or anything except JCL statements.

Enrico told you, and I will echo, you cannot achieve what you want with the way you are attempting to do so. Anything submitted to JES must be a complete JCL with accounting fields already in place. Figure out another way to get what you need -- say, contact your site support group and get the accounting codes from them? Ask your coworkers what to put in there?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top