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