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

Error running AUTOFALC - Logical value not 0 or 1


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Aug 04, 2009 11:19 am
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Aug 04, 2009 11:29 am
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Rotate partition-logical & physic... DB2 0
Search our Forums:

Back to Top