Quantcast
Channel: CPYSPLF – IT Answers
Viewing all 22 articles
Browse latest View live

CPYSPLF from one profile to another

$
0
0

Is there a command thru which we can copy the spool file from one profile to other?


Unable to run CPYSPLF command multiple times to same output file in a single CL.

$
0
0

Iam running CPYSPLF command to an output file once, I process the resultant output file thereafter when i move on to the next spool file by again running the CPYSPLf Command on the same output file which required existing data to be cleared and overwritten with the data received from the second CPYSPLF command.

When i run the CPYSPLF command the second time i get a message CPF9845 error occured while opening the output file.  It asks me to use the MONMSG command.  However using MONMSG results in bypassing of the CPYSPLF command.

How can i overcome this error and still run the CPYSPLF command the second time.

 

 

CPYSPLF ERROR

$
0
0

I have a program that emails from the spool file whenthe user uses option “E”. I created this. Anyway. It blows up on a spool file that has a barcode in it defined. “Attributes of file RB421P not supported.” b/c of AFPDS barcoding it fails to create the file so I can do snddst command. Any ideas out there on how Ican get it to work? THanks

cpysplf problem in cl program

$
0
0

i have a cl program with the cpysplf command that is executed within it. before executing, it retrieves all the spool file attributes from a declared file. when i debug the program all the attributes are correct but it doesn’t copy to the physical file. the file is at the top of my library list and i’ve even qualified the library. also, when i execute the cpysplf from a command line and hardcode the exact same parameters it works fine. am i missing a parm in the crtclpgm or cpysplf command? thanks in advance.

physical file name

$
0
0

I am running cpysplf command and create new file everyday. I would  like to give the file name with date extension on it. For example: before I run cpysplf command, I create PF INVOICE0305 (03/05/10). Is there any way to do so? Help please.   

Copy spool file partially

$
0
0

Hi,

I want to copy only the last 10 lines of a spool file. Can Anyone tell me how I can do it?

 

CPYSPLF To database fails with message CPF3468

$
0
0

Hello there:
I’m having problems at work for the last couple days.
I submitted a job that wakes up when the Dataque retrieves an incoming spool file (invoice). Right after Cpysplf is executed by QCMDEXC, I received message Id CPF3468. I would love to hear any suggestions.
Thank you very much

cpyf and cpysplf: How to copy spool files and database files in AS/400?


QSYSPRT

$
0
0

Hi , A program generated two reports.There is a job that runs every monday , and these report are generated every week.They are copying the data in the report to a work file in Qtemp by the command CPYSPLF .Then they copy the records from work file to Qsysprt by CPYF. My queries are , is this QSYSPRT retains the records permanently , that is any time can we access these records? Also i want these records in an EXcel sheet .pLease clarify

CPF3309 error message

$
0
0

While executing CPYSPLF command I get the error CPF3309 with the error description , ” No files named &1 is sctive”,Please let me know your thoughts and advice solution for the same

Copy Spool File with TYPE =*AFPDS

$
0
0

Does any body know how to perform the same task as cpysplf, but with spool file have been created with Type=*AFPDS.

Saving Spool Files, and Restoring Spool Files in AS/400 iSeries

Convert spool file to .PDF with overlay

physical file name

$
0
0

I am running cpysplf command and create new file everyday. I would  like to give the file name with date extension on it. For example: before I run cpysplf command, I create PF INVOICE0305 (03/05/10). Is there any way to do so? Help please.   

The post physical file name appeared first on IT Answers.

Copy spool file partially


CPYSPLF To database fails with message CPF3468

cpyf and cpysplf: How to copy spool files and database files in AS/400?

CPF3309 error message

QSYSPRT

Copy Spool File with TYPE =*AFPDS

Viewing all 22 articles
Browse latest View live


Latest Images