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 

Calling COBOL program from PL/I - Performance...

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


Joined: 09 Jan 2003
Posts: 15
Topics: 5

PostPosted: Wed Aug 13, 2003 11:48 am    Post subject: Calling COBOL program from PL/I - Performance... Reply with quote

I am calling a COBOL program from PL/I, which is causing great deal of performace issue. The environment we have is PL/I Ver 2 Release 3 and VS COBOL II (We don't have LE)... Please advise, if there is a better way to enhance the performance.

The new COBOL program being called is intended to do numeric check. If anyone can suggest a better option within PL/I to do it, that would be great as well. We are considering creating the program in Assembler now (for numeric check routine).

Thanks,
Giri
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Aug 13, 2003 2:17 pm    Post subject: Reply with quote

Code:

IF VERIFY(YOUR_VARIABLE,'0123456789') > 0 THEN
   CALL YOUR_NON_NUMERIC_CODE;
ELSE
   do whatever you want - the variable is numeric;


_________________
The day you stop learning the dinosaur becomes extinct
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