home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / cobol / 555 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.1 KB  |  34 lines

  1. Newsgroups: alt.cobol
  2. Path: sparky!uunet!ornl!sunova!sscvx1.ssc.gov!dlittle
  3. From: dlittle@sscvx1.ssc.gov (DENNIS LITTLE)
  4. Subject: Re: Question about parameters passed to a subprogram
  5. Message-ID: <19NOV199212493021@sscvx1.ssc.gov>
  6. News-Software: VAX/VMS VNEWS 1.4-b1  
  7. Sender: usenet@sunova.ssc.gov (News Admin)
  8. Nntp-Posting-Host: sscvx1
  9. Organization: Superconducting Super Collider Laboratory
  10. References: <1992Nov19.155223.3385@cc.umontreal.ca>
  11. Date: Thu, 19 Nov 1992 18:49:00 GMT
  12. Lines: 20
  13.  
  14. In article <1992Nov19.155223.3385@cc.umontreal.ca>, lacs@ERE.UMontreal.CA (Lacombe Serge)  writes...
  15. >Hi.
  16. >    Is it possible to know the characteristics (type, length...)
  17. >of a parameter passed to a cobol subprogram. I am working with
  18. >Micro-Focus Cobol rev 3.0 and i have a case where the length of a
  19. >parameter may vary from time to time.
  20. >Thanks.
  21. >Serge Lacombe,
  22. >Universite de Montreal,
  23. >E-mail: lacs@eole.ere.umontreal.ca
  24. Making the assumption that something will always be passed, pass it to a
  25. string as long as the longest possible amount of data to be pulled in and
  26. manipulate it once you get it into the program depending on length.
  27.  
  28. me
  29.