dbTalk Databases Forums  

PCPERFORM Issue

comp.databases.pick comp.databases.pick


Discuss PCPERFORM Issue in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
CShaffer (Offline)
Junior Member
 
Posts: 1
Join Date: Aug 2006

Default PCPERFORM Issue - 08-02-2006 , 03:02 PM






I have recently run into an odd thing with a PCPERFORM statement. In a UNIBASIC program I call a C program using PCPERFORM. This C program prepares a file for further processing. I have always assumed that the PCPERFORM would wait for the C program to finish before continuing. This morning however if appears that the C program took four hours to complete and that the UNIBASIC program continued on and processed yesterday's file.

Does anyone know whether PCPERFORM is Synchronous or Asynchronous?
CDS

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: PCPERFORM Issue - 08-02-2006 , 05:14 PM






CShaffer wrote:
Quote:
I have recently run into an odd thing with a PCPERFORM statement. In a
UNIBASIC program I call a C program using PCPERFORM. This C program
prepares a file for further processing. I have always assumed that the
PCPERFORM would wait for the C program to finish before continuing.
This morning however if appears that the C program took four hours to
complete and that the UNIBASIC program continued on and processed
yesterday's file.

Does anyone know whether PCPERFORM is Synchronous or Asynchronous?
CDS
Used many PCPERFORMS on UniData but never had the situation you
described.
Just a thought.
Is this on a Unix system?
Does the shell command you PCPERFORM have an & at the end of the line?
& at the end of the line of a Unix shell command will run the task in
backround and return back to you immediatley.

Jeremy Thomson



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.