55 pts.
 cvttostmf command
Where can I find this?

Software/Hardware used:
Iseries spool files to server via Windows 7 environ.
ASKED: April 7, 2011  8:47 PM
UPDATED: April 8, 2011  8:15 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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?

Tom

 107,765 pts.

 

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.

 40 pts.

 

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.

 55 pts.

 

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″.

Tom

 107,765 pts.