View previous topic :: View next topic
|
Author |
Message |
deveshyahoo
New User
Joined: 28 Jan 2008 Posts: 10 Location: noida
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
look for the quote site filetype=jes syntax.
O. |
|
Back to top |
|
|
deveshyahoo
New User
Joined: 28 Jan 2008 Posts: 10 Location: noida
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|