The CXXFILT utility accepts input by two methods: from stdin or from a file.
//RUN EXEC CXXFILT,CXXPARM='(SYMMAP WIDTH(15)'
⋮
//SYSIN DD *
pr__3FOOFvxxxx
__ls__7ostreamFPCc
__vft1X
/*
FOO::pr() xxxx
ostream::operator<<(const char*)
__vft1X
C++ Symbol Mapping
demangled mangled
--------- -------
FOO::pr() pr__3FOOFv
ostream::operator<<(const char*) __ls__7ostreamFPCs
The second method of giving input to CXXFILT is to supply it in one or more files. Fixed and variable file record formats are supported. Each line of a file can have one or more names separated by space. In the example below, mangled names are treated either as regular names or as special names (the special names are compiler-generated symbol names). Demangled names are printed in fields 35 characters wide, and output is in side-by-side format.
pr__3FOOFv
__vft1X
//RUN EXEC CXXFILT,CXXPARM='FILE1 (SPECIALNAME WIDTH(35) SIDEBYSIDE'
The CXXFILT utility terminates when it reads the end-of-file terminator.