Where can I find this?
Sorry, I’ve never seen it. From your tags, it looks like a command that “converts spooled files to stream files”.
Since the system can do that without any extra command function, can you explain why you would want CVTTOSTMF? Or am I misunderstanding what CVTTOSTMF would do?
I believe that was a homegrown command that used to be available at System iNetwork. I have a copy and use it frequently to create stream files of HIPAA transactions.
Tom, This is the command that I thought I could use. The system can do this without this command? I save spool files every week using SPLTOOL so that I can move/archive them to the server to satisfy records retainment requirements. If I can cut out any steps and still have the ability to reproduce these documents that would be great.
Why not use the QShell catsplf utility? I generally use something based on this structure:
qsh cmd('touch -C 1252 mysplftxt.spl && +
catsplf -j 543210/myusrprf/myjob MYSPLF 1 >mysplftxt.spl')
That creates a basic *PCASCII streamfile named mysplftxt.spl in the current directory. CCSID 1252 is what *PCASCII gives. Then it copies lines from a spooled file named MYSPLF from job 54321/MYUSRPRF/MYJOB into that streamfile. The “1″ after the spooled file name indicates spooled file number “1″.