Path: utzoo!utgpu!news-server.csri.toronto.edu!qucdn!spraggej Organization: Queen's University at Kingston Date: Thursday, 4 Apr 1991 01:52:34 EST From: John G. Spragge Message-ID: <91094.015234SPRAGGEJ@QUCDN.QueensU.CA> Newsgroups: comp.lang.pascal Subject: Re: Calling Pascal from COBOL -- UGH References: <26440@adm.brl.mil> Questions: Are you sure you are declaring the routine correctly? I know old Pascal/VS used to support calls into Pascal from COBOL. You had to declare the Pascal routine as if it was being called from FORTRAN. The manual should give you instructions about doing that. But I suspect, given your description, that you may have a different problem: are you sure the program you are calling is a valid subset command? Look in the CMS manual if you are unsure; the subset commands are listed. Generally XEDIT, EXECS, and some other commands are ok; NOTHING you have written in COBOL is. If you need more, send me some details directly. disclaimer: Queen's University supplies me with computer services, not my opinions. John G. Spragge