Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10277
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: 8121
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 Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us