View previous topic :: View next topic |
Author |
Message |
priyam Beginner
Joined: 05 Jul 2006 Posts: 16 Topics: 12
|
Posted: Wed Jun 20, 2007 2:51 am Post subject: INVALID JCL STATEMENT-JCL error PROC doesn't allow Instream |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 20, 2007 3:00 am Post subject: |
|
|
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 |
|
 |
priyam Beginner
Joined: 05 Jul 2006 Posts: 16 Topics: 12
|
Posted: Wed Jun 20, 2007 3:21 am Post subject: |
|
|
Hi Dick,
Thanks a lot.
Mistakenly I have coded the Instream data directly in the PROC. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 20, 2007 3:29 am Post subject: |
|
|
thx for providing a resolution to your problem. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
|
|