"DATA SET NOT FOUND" by JCL job



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

"DATA SET NOT FOUND" by JCL job

Postby FAB64 » Wed Nov 15, 2017 5:30 am

Hi all,

Another very basic problem, I'm sure. I have written a JCL that uses a sequential file (that I manually) created, as input. When the JCL runs, it gives the message "DATA SET <my input file name> NOT FOUND". I'm assuming that I created my file incorrectly(?).

I manually created this file by entering 3,2 in ISPF, then A for allocate. I then used Edit (option 2 in ISPF) to add 10 records to the file, then SAVEd it.

If I enter 3,4 in ISPF, my input file is not listed. However, if I enter 1 (View), then enter the name under “Other partitioned, Sequential or VSAM Data Set”, it will list the file. Does this mean my file is not cataloged? And, if so, how do I create it so it’s cataloged. I tried option 3,2 in ISPF to catalog it (option C), but got an error.

Any help would be much appreciated, thanks!!

Roger
FAB64
 
Posts: 4
Joined: Wed Nov 01, 2017 12:38 am
Has thanked: 2 times
Been thanked: 0 time

Re: "DATA SET NOT FOUND" by JCL job

 

Re: "DATA SET NOT FOUND" by JCL job

Postby prino » Wed Nov 15, 2017 5:59 am

I'm pretty sure I know what the problem is, but it's much more fun to let you sweat on it for a bit longer.

Hint: Look at the dataset name when you View it...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

These users thanked the author prino for the post:
FAB64 (Thu Nov 16, 2017 2:13 am)
User avatar
prino
 
Posts: 537
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: "DATA SET NOT FOUND" by JCL job

Postby enrico-sorichetti » Wed Nov 15, 2017 12:25 pm

prefix oh prefix !
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2636
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 129 times

Re: "DATA SET NOT FOUND" by JCL job

Postby steve-myers » Wed Nov 15, 2017 6:22 pm

I was thinking the same thing, then found Prino's message, and decided to leave the whole mess alone.
steve-myers
Global moderator
 
Posts: 1875
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 193 times

Re: "DATA SET NOT FOUND" by JCL job

Postby FAB64 » Thu Nov 16, 2017 2:12 am

Ok, thanks guys! My UserID got prefixed to the file name that I created. I was able to rename it by surrounding the file name with single quotes. I'm guessing I should have done this when I initially created it(?). Thanks again.
FAB64
 
Posts: 4
Joined: Wed Nov 01, 2017 12:38 am
Has thanked: 2 times
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post