Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error running AUTOFALC - Logical value not 0 or 1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Tue Aug 04, 2009 11:01 am    Post subject: Error running AUTOFALC - Logical value not 0 or 1
Reply with quote

Code :

ADDRESS ISPEXEC
"FTOPEN"
if(rc) then say "...."

Error:

IRX0034I Error running AUTOFALC, line 425: Logical value not 0 or 1
ISPD117
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Tue Aug 04, 2009 11:19 am    Post subject:
Reply with quote

The solution is self explanatory, the value stored in RC is NOT 0 and is NOT 1.

Easy eh ?
Back to top
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Tue Aug 04, 2009 11:27 am    Post subject: Thats a smart answer :)
Reply with quote

But the problem is this that when executing
ADDRESS ISPEXEC
"FTOPEN"

It should give 0 or 1 as RC while it is giving 8.

Please help me now.
Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Tue Aug 04, 2009 11:29 am    Post subject:
Reply with quote

Why should it give a 0 or 1. Where in the manual does it say that.

Look at the return codes issued by file tailoring in the manual and see why you get an 8 returned, rather than wishing for something that just ain't going to happen.
Back to top
View user's profile Send private message
anjali_tcs

New User


Joined: 09 Jun 2008
Posts: 10
Location: GGN

PostPosted: Tue Aug 04, 2009 12:01 pm    Post subject: Possible return codes from FTOPEN
Reply with quote

The following return codes are possible:
0 Normal completion.
8 File tailoring already in progress.
16 Skeleton library or output file not allocated.
12 Output file in use; ENQ failed.
20 Severe error.


Thanks,
AB.
Back to top
View user's profile Send private message
anjali_tcs

New User


Joined: 09 Jun 2008
Posts: 10
Location: GGN

PostPosted: Tue Aug 04, 2009 12:16 pm    Post subject:
Reply with quote

Do you have multiple FTOPEN in your program?
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us