|
View previous topic :: View next topic
|
| Author |
Message |
itjagadesh
New User
Joined: 05 Dec 2006 Posts: 89 Location: chennai
|
|
|
|
Team,
we are getting below error in one of FILEAID Step because Dataset DD name was not mentioned in JCL step and caused this
| Code: |
INVALID FUNCTION, NO OUTPUT DATASET PRESENT
.....SKIPPING TO NEXT $$DD CARD RC=4
Below is SYSIN PARMLIB -InputParm we have
$$DD01 USER WRITE=A,
WRITE=B,
WRITE=C,
WRITE=D,
WRITE=AE
JCL we have
.SAL //STEP07 EXEC FILEAID
000135 //DD01 DD DSN=INPUTFILE,DISP=SHR
000137 //A DD DSN=FILEA(+1),
000138 // DISP=(,CATALOG,DELETE),LRECL=150,RECFM=FB,
000139 // DCB=GDGMDL,SPACE=(CYL,(850,200),RLSE)
000140 //BA DD DSN=FLAB(+1),
000141 // DISP=(,CATALOG,DELETE),LRECL=150,RECFM=FB,
000142 // DCB=GDGMDL,SPACE=(CYL,(850,200),RLSE)
000143 //C DD DSN=FLECK(+1),
000144 // DISP=(,CATALOG,DELETE),LRECL=150,RECFM=FB,
000145 // DCB=GDGMDL,SPACE=(CYL,(850,200),RLSE)
000146 //D DD DSN=FILED(+1),
000147 // DISP=(,CATLG,DELETE),LRECL=150,RECFM=FB,
000148 // DCB=GDGMDL,SPACE=(CYL,(850,200),RLSE) |
Issue - Dataset DD name 'E' was mentioned in JCL but it was not mentioned Parmlib .
Since the same SYSIN parm member is used in muliple jobs,is there anyway to handle in parm without changing JCL (ie IF DD name not present in JCL it should work )
Additional Information -
1) Input parm is used in 10 Job .Out of 10 ,9 of the JCLS having DD name 'E' except this Job dent have DD name 'E'.
2) we know one opton is to change the parm (remove the DD name 'E' ) but problem is 10 of the JCLS uses this same parm and other JCLS having DD name 'E'. But we are checking with you all to handle this issue in SYSIN parm itself without modifying JCL
Please let me know if you need more details ,above was not clear .Please help us.
Thanks
Jagadesh |
|
| Back to top |
|
 |
itjagadesh
New User
Joined: 05 Dec 2006 Posts: 89 Location: chennai
|
|
|
|
Im sorry above one having one Type o error . JCL having only 4 DD name (A,B,C and D)
| Code: |
.SL //STEP07 EXEC FILEAID
000135 //DD01 DD DSN=INPUTFILE,DISP=SHR
000137 //A DD DSN=FILEA(+1),
000140 //B DD DSN=FILEB(+1),
000143 //C DD DSN=FILEC(+1),
000146 //D DD DSN=FILED(+1), |
|
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
what happened when You tried to use ?
|
|
| Back to top |
|
 |
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
I'm not quite clear about this. Your example shows a name of "AE" in the sysin, but you say that your JCL has A, B, C & D defined.
So surely your problem is that you are trying to write out to file AE which is not in your JCL? But you seem to suggest that the issue is that you have a file in the JCL that is not in your sysin?
You can have as many file definitions as you like in your JCL. If they are not referenced in your sysin, then the program will not access them. So, define all possible options in your JCL and the job will work (NB: although the job will not access those files, it will still catalog an empty one, which may not be what you want). |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
the issue is just that ...
the TS has fileaid control cards which refer to some DDs ,
and he/she wants some magic to avoid the error which occurs when the expected DDs are not there |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Looks like i'm lost again . . . Lot of that going around for me this week. . .
Why not just use a different SYSIN parmlib that does not contain the missing DD(s)? |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| because the people of the TS organization are lazy <any unpleasant adjective of Your choice> |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|