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: 10457
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: 8280
Location: Dubuque, Iowa, 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
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
This topic is locked: you cannot edit posts or make replies. how to get Job information from IOF u... rsshanmugam CLIST & REXX 13 Mon Feb 05, 2018 4:22 pm
No new posts attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am

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