MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

View and modify JCL and submit the job through rexx

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vijay_pampana
Beginner


Joined: 11 Nov 2008
Posts: 9
Topics: 2

PostPosted: Wed Nov 12, 2008 5:00 am    Post subject: View and modify JCL and submit the job through rexx Reply with quote

Hi,

I am written a REXX tool which will open a PS file in view mode containing a JCL. The user can make all the changes in the JCL and submits the Job.

Code:
ADDRESS ISPEXEC "VIEW DATASET('"FILE1"')"


Where FIle1 contains the dataset that the user want to view.

When I make any changes to the JCL which is opened in the view mode, I could able to come out of the PS file as it is giving a error message. After submitting the code when I press CANCEL and ENTER it is giving the following error message.
INVALID COMMAND

When I used the EDIT mode it is working for me but I want to make sure there are no changes to the JCL's

Thanks
--Vijay
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group