Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PERFORM USING statement

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
The online Microfocus Cobol manual has, on the PERFORM PAGE some syntax of PERFORM USING but no explanation or example of how to use it

MicroFocus Perform page

The syntax is basically

PERFORM USING {local-name AS type-specifier = expression } ...

I'm not sure whether this is specific to Microfocus or whether it is a little known feature that is just glossed out in most COBOL implementations. Is the local-name a parameter to the performed paragraph or is this something else?

Basically I'm looking for an alternative to providing a procedure with parameters in a separate code block with a linkage section.
 
Found some information on this, just after posting it. It is a .net feature so not standard cobol. Talks about an IDisposable interface so it probably auto garbage collects. Guess I can't use this one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top