home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!rutgers!vpbuild!adsi!markp
- From: markp@adsi.homecare.com (Mark Parr)
- Newsgroups: comp.unix.shell
- Subject: Bourne Shell Limits
- Message-ID: <1992Dec24.195736.6966@adsi.homecare.com>
- Date: 24 Dec 92 19:57:36 GMT
- Sender: markp@adsi.homecare.com (Mark Parr)
- Organization: Application Data Systems, Inc.
- Lines: 34
-
- Does anyone know if there is a point in the Bourne Shell where large program
- application sizes can cause problems with system() calls?
-
- 99% of our application is written using the Visual COBOL/XO Compiler. I'm
- working on a C application that needs to be able to read/write from/to the
- COBOL files. For this, I've written some Cobol routines that I call
- out of my application. The application is linked in with the need Visual
- libraries and results in a program that 200k+ in executable size.
-
- Now, in this application, I system() call out to Unix in several places.
- The problem occurs with a system() call using "find". For testing purposes,
- I replaced the "find" with "sh" so that I could "shell" out to the prompt.
- When I type "find" at the prompt (this is on an IBM Risc/6000 but similar
- problems have been noted on our NCR 750 Tower), I get a message along the
- lines of: "Find cannot execute 'pwd'".
-
- Now, from this shell, if I start either "ksh" or "csh" and type "find",
- I get the format instructions for using find. Another, "sh" session,
- however, returns the error.
-
- Also, if I shell out to "sh" immediately after main(), find works as
- expected.
-
- Can anyone give me any ideas on what the problem might be or where to look?
-
- Thanks,
- Mark Parr
-
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- | |-------------| Application Data Systems | Phone: (601) 393-2046 | |
- | | Mark Parr | 1930-B 1st Commercial Dr. N | Fax: (601) 393-6605 | |
- | |-------------| Southaven, MS 38671 | markp@adsi.vp.com | |
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-