MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[BUG] Programming

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
antichoc
Beginner


Joined: 08 Jun 2006
Posts: 18
Topics: 6

PostPosted: Tue Oct 31, 2006 8:51 am    Post subject: [BUG] Programming Reply with quote

Hello everybody.

So this is my problem :

I have compiled two programs that are linked from PG1 to PG2 by the LINK command.

In the PG2, whith and without Smartest, the compilator exit the program and returns to the PG1 program without explanations. This happened just after the compute command, and all the code after is not run.

I don't understand why this program exit sudently without return command !

This is an example of the code :

Code:
PG1:
...
EXEC CICS LINK (PG2)
...

PG2 :
...
IF CONDITION
COMPUTE INT2 = INT + TCF1ARN (M1BARO)
COMPUTE INT2 = INT2 / 100
END IF.
...



When the first compute is run, the CICS return to PG1 ...

Anyone have a solution ? Thank you
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Oct 31, 2006 9:13 am    Post subject: Reply with quote

antichoc,

Did you check the output from the compiler to see if it has the entire source?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
antichoc
Beginner


Joined: 08 Jun 2006
Posts: 18
Topics: 6

PostPosted: Tue Oct 31, 2006 9:46 am    Post subject: Reply with quote

Yes, the output from the compiler contains the full source of my program ...
Back to top
View user's profile Send private message
antichoc
Beginner


Joined: 08 Jun 2006
Posts: 18
Topics: 6

PostPosted: Thu Nov 02, 2006 3:41 am    Post subject: Reply with quote

Does anyone know this problem ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group