Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Submiting REXX to JES

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Submiting REXX to JES
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Mon May 25, 2009 12:48 pm    Post subject: Reply to: Submiting REXX to JES
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: 2360
Location: Israel

PostPosted: Mon May 25, 2009 1:33 pm    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 02, 2009 2:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us