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 

INVALID JCL STATEMENT-JCL error PROC doesn't allow Instream

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
priyam
Beginner


Joined: 05 Jul 2006
Posts: 16
Topics: 12

PostPosted: Wed Jun 20, 2007 2:51 am    Post subject: INVALID JCL STATEMENT-JCL error PROC doesn't allow Instream Reply with quote

My Code:
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL FILES=1,INCLUDE=(11,3,CH,EQ,C'762')
..
..
/*

Error:
IEFC601I INVALID JCL STATEMENT
IEFC601I INVALID JCL STATEMENT
IEFC601I INVALID JCL STATEMENT
IEFC601I INVALID JCL STATEMENT

Am getting same error for all the lines inside the SYSIN.
I checked the syntax.I think this error is due to some other reason.I got the below solution from GOOGLE.

It seems strange that the errors are specifically targeting the SYSIN DD * instream data records. Assuming that you're not attempting to use instream data in a PROC, then it seems as if your system uses some sort of JCL submission exit that doesn't allow for instream data to be coded.

If the above thing is the solution, but how to resolve this issue.How to make the PROC to support the Instream data.

Can anyone help me on this.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 20, 2007 3:00 am    Post subject: Reply with quote

you can't. Proc's do not allow instream data.

Are you sure that the Proc is not coded as SYSIN DD DUMMY?
override this from the JCL with instream data.

Besides, why are you modifying the PROC?

If this does not solve your problem, please provide the jes output for the expanded jcl using bbcode tags 'code /code'

You mentioned google. Had you looked a little further thru your google results you would have found what I posted - that's were I got it.

(modified many times by dbz to attempt a one post solution.)
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
priyam
Beginner


Joined: 05 Jul 2006
Posts: 16
Topics: 12

PostPosted: Wed Jun 20, 2007 3:21 am    Post subject: Reply with quote

Hi Dick,
Thanks a lot.
Mistakenly I have coded the Instream data directly in the PROC.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 20, 2007 3:29 am    Post subject: Reply with quote

thx for providing a resolution to your problem.
_________________
Dick Brenholtz
American living in Varel, Germany
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 -> Job Control Language(JCL) 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