Q
Problem solve Get help with specific problems with your technologies, process and projects.

Change the attributes on a print file

I am looking to change the attributes on a print file - line, CPI, overflow after the user has created the file. I can do it with going to a database and back, but I was trying to do this under a QSYSOPR profile running a job out of a data queue from the OUTQ and yet keep the file under the original user profile.

The only way I know is to create a few CL programs to use the Spooled file API's to GET and PUT and change the parameters on the fly. This will duplicate the spooled file, change the attributes and still use the original user's profile.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close