Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to solve u1020 abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
khandelwal

New User


Joined: 13 May 2008
Posts: 5
Location: mumbai

PostPosted: Mon May 26, 2008 2:54 pm    Post subject: How to solve u1020 abend
Reply with quote

Hi ,
i am having this abend and error in my jcl :

A user logic error occurred. Neither FILE STATUS nor a 119
declarative was specified for file 'QURYFILE' in program
'LCI20DPQ' at relative location X'1C68'. The I-O status code
was '47'.
ABEND CODE=U1020
plz help me how to solve this abend........
Back to top
View user's profile Send private message
References
PostPosted: Mon May 26, 2008 2:54 pm    Post subject: Re: How to solve u1020 abend Reply with quote

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2537
Location: italy

PostPosted: Mon May 26, 2008 2:57 pm    Post subject: Reply to: How to solve u1020 abend
Reply with quote

what does io status code 47 mean ??
Back to top
View user's profile Send private message
khandelwal

New User


Joined: 13 May 2008
Posts: 5
Location: mumbai

PostPosted: Mon May 26, 2008 3:04 pm    Post subject: Reply to: How to solve u1020 abend
Reply with quote

same thing not able to understand..........
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2537
Location: italy

PostPosted: Mon May 26, 2008 3:27 pm    Post subject: Reply to: How to solve u1020 abend
Reply with quote

if You do not want to look at the manuals...
search the net for "cobol file status 47"
Back to top
View user's profile Send private message
DARAPRADEEP

New User


Joined: 13 Apr 2005
Posts: 6

PostPosted: Mon May 26, 2008 3:32 pm    Post subject: Reply to: How to solve u1020 abend
Reply with quote

Hi,
The file status 47 means : -

The execution of a READ or START statement was attempted on a file not open in the input or I-O mode.
Back to top
View user's profile Send private message
jasorn

Active User


Joined: 12 Jul 2006
Posts: 109

PostPosted: Wed May 28, 2008 3:17 pm    Post subject:
Reply with quote

Darapradeep,
If you're like me you'll want to print the list of the status keys and keep it handy.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7335
Location: 221 B Baker St

PostPosted: Wed May 28, 2008 10:26 pm    Post subject:
Reply with quote

Hello again jasorn,

Why address the suggestion to Darapradeep? Khandelwal is the one looking for status code info. . .

We should pay attention to what we post - not just flail away. . .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1