home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / cobol / 567 < prev    next >
Encoding:
Text File  |  1992-11-23  |  842 b   |  31 lines

  1. Newsgroups: alt.cobol
  2. Path: sparky!uunet!sequent!muncher.sequent.com!map
  3. From: map@sequent.com (Michael Perry)
  4. Subject: Re: Command Line Arguments
  5. Message-ID: <1992Nov23.180640.18323@sequent.com>
  6. Sender: usenet@sequent.com (usenet )
  7. Nntp-Posting-Host: sequent.sequent.com
  8. Organization: Sequent Computer Systems, Inc.
  9. References: <1992Nov23.005741.21924@cronkite.ocis.temple.edu>
  10. Date: Mon, 23 Nov 92 18:06:40 GMT
  11. Lines: 18
  12.  
  13. In article <1992Nov23.005741.21924@cronkite.ocis.temple.edu> hdoshi@picasso.ocis.temple.edu (Hiren Doshi) writes:
  14. >Is there any way to pass command line arguments to a program writtten 
  15. >in MicroFocus PC COBOL? I hope that this is not a FAQ. 
  16. >
  17. >Hiren... 
  18.  
  19. Yes....
  20.  
  21. 01  COMMAND-INPUT   pic x(128)  value spaces.
  22.  
  23.  
  24. procedure....
  25.  
  26.    accept COMMAND-INPUT from command-line.
  27.  
  28. Mike
  29. -- 
  30.     "Life's a bench, then you die!"
  31.