Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FILEAID - NO OUTPUT DATASET ERROR - Alternate Option -Help

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: FILEAID - NO OUTPUT DATASET ERROR - Alternate Option -Help
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    Post subject: Reply to: FILEAID - NO OUTPUT DATASET ERROR - Alternate Opti
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 04, 2012 2:40 pm    Post subject: Reply to: FILEAID - NO OUTPUT DATASET ERROR - Alternate Opti
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: 175
Location: UK

PostPosted: Tue Dec 04, 2012 3:09 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 04, 2012 3:20 pm    Post subject: Reply to: FILEAID - NO OUTPUT DATASET ERROR - Alternate Opti
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

Site Director


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

PostPosted: Tue Dec 04, 2012 9:26 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 04, 2012 9:34 pm    Post subject: Reply to: FILEAID - NO OUTPUT DATASET ERROR - Alternate Opti
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us