IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FILEAID - NO OUTPUT DATASET ERROR - Alternate Option -Help


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Tue Dec 04, 2012 2:19 pm
Reply with quote

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
View user's profile Send private message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Tue Dec 04, 2012 2:21 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 04, 2012 2:40 pm
Reply with quote

what happened when You tried to use ?
Code:
//E DD DUMMY
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Tue Dec 04, 2012 3:09 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 04, 2012 3:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Dec 04, 2012 9:26 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 04, 2012 9:34 pm
Reply with quote

because the people of the TS organization are lazy <any unpleasant adjective of Your choice>
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top