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
 

 

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: 8593
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: 8593
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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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