AS/400 CL Auto Reply to "Load Next Tape messages"
Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.
Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.
Append date to FTP file name
I want to append the date to the file name I am putting on the pc. I am using a cl batch program to process the files on a daily basis. The files are identified in a member in a source file. (PUT ftpdbf/filea filea102408.txt). The files from the 400 are created with a cpysplf command in various...
I want to append the date to the file name I am putting on the pc. I am using a cl batch program to process the files on a daily basis. The files are identified in a member in a source file. (PUT ftpdbf/filea filea102408.txt). The files from the 400 are created with a cpysplf command in various...
Retrieving system name using a CLP
How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?
How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?
File pointer is being reset to the top in a CLP program
I am processing the *OUTFILE from a DSPOBJD command. Trying to create a logical file. When the CRTDUPOBJ fails the program loops to the RCVF command but the same record is being read again...WHY??
I am processing the *OUTFILE from a DSPOBJD command. Trying to create a logical file. When the CRTDUPOBJ fails the program loops to the RCVF command but the same record is being read again...WHY??
Is there a way to automate the 'Receive Files from Host' command'?
I need to automatically run the Receive Files from Host command after business hours. Is there a CLP command to accomplish this with an example? Thanks, LWK
I need to automatically run the Receive Files from Host command after business hours. Is there a CLP command to accomplish this with an example? Thanks, LWK
Immbedding parameters in CL program
Hi, I am having trouble immbedding parameters in a CL program with quotes, within a ADDJOBSCDE command. See below. ADDJOBSCDE JOB(&JOB) CMD(RUNC90JOB SEQ(*SUBJB) + PGM(UN798CL) PARM('''' *TCAT &PARM *CAT + '''')) FRQ(*ONCE) + ...
Hi, I am having trouble immbedding parameters in a CL program with quotes, within a ADDJOBSCDE command. See below. ADDJOBSCDE JOB(&JOB) CMD(RUNC90JOB SEQ(*SUBJB) + PGM(UN798CL) PARM('''' *TCAT &PARM *CAT + '''')) FRQ(*ONCE) + ...
Job Log
I am attempting to have the Job Log for a specific CLP end up in a specific output queue that is different from where we want the rest of the Job Logs to go. I have attempted to use OVRPRTF, CHGJOB and even set up a unique JOBD to no avail. Does someone have an idea as to what will work for a...
I am attempting to have the Job Log for a specific CLP end up in a specific output queue that is different from where we want the rest of the Job Logs to go. I have attempted to use OVRPRTF, CHGJOB and even set up a unique JOBD to no avail. Does someone have an idea as to what will work for a...
What is the best way to execute SQL statements in a CL program.
What is the best way to execute SQL statements in a CL program. We can run sql statements in a RPG program. I want to delete some records from a file using the sql delete statement then organize it.
What is the best way to execute SQL statements in a CL program. We can run sql statements in a RPG program. I want to delete some records from a file using the sql delete statement then organize it.
End Job
I have created a program (and clp) that works perfect. There's just one little problem. I need for the clp to terminate after about 30 to 40 seconds. I did this over 10 years ago, but I have no idea on how. I have the object, but not the source to the original clp. Thank You, Douglas L McDuffie
I have created a program (and clp) that works perfect. There's just one little problem. I need for the clp to terminate after about 30 to 40 seconds. I did this over 10 years ago, but I have no idea on how. I have the object, but not the source to the original clp. Thank You, Douglas L McDuffie
How to change status line (24) from CL?
I'm trying to leave a status message on line 24 when my CL(LE) program is done. Unfortunately, as soon as the message appears, it vanishes! This CL submits a batch process, and my goal is to notify the user that they submitted it so that they don't just keep doing it because they have seen no...
I'm trying to leave a status message on line 24 when my CL(LE) program is done. Unfortunately, as soon as the message appears, it vanishes! This CL submits a batch process, and my goal is to notify the user that they submitted it so that they don't just keep doing it because they have seen no...
I Put a HEX on youuuuuuuu......
Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?
Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?
Complete backup via CLP
Isn't it possible to wrap the commands issued via GO SAVE option 21 in a CLP and run it via job scheduled entry, assuming proper authority, etc.?
Isn't it possible to wrap the commands issued via GO SAVE option 21 in a CLP and run it via job scheduled entry, assuming proper authority, etc.?
Collecting System Performance Values.
I need to get some values like total CPU usage, Number of active jobs by catagory, excessive CPU usage by a job (which may be looping), Jobs with messages waiting to be answered and similar information. I have to write these values to a file every five minutes. These values will be graphically...
I need to get some values like total CPU usage, Number of active jobs by catagory, excessive CPU usage by a job (which may be looping), Jobs with messages waiting to be answered and similar information. I have to write these values to a file every five minutes. These values will be graphically...
RCVF In CL
I am using nested RCVF to read PF's in a CL program. The second iteration of the inner loop does not happen because the pointer is set to end of file. How do I reset the pointer to start at the begining? I have tried OVRDBF, OPNQRYF, POSDBF and deleting and recreating the PF. Thank you for your...
I am using nested RCVF to read PF's in a CL program. The second iteration of the inner loop does not happen because the pointer is set to end of file. How do I reset the pointer to start at the begining? I have tried OVRDBF, OPNQRYF, POSDBF and deleting and recreating the PF. Thank you for your...
Writing an MQ message
I have to write a program that sends some data from MQ. I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ. How do I write the message to MQ, how do I set up the message length etc.
I have to write a program that sends some data from MQ. I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ. How do I write the message to MQ, how do I set up the message length etc.
Daily Job Suddenly Disappeared
Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are...
Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are...
transferring files from iSeries to PC
Does anyone know of a way to transfer a file from the iSeries to a pc using CLP or RPGILE? I do not want the user to have to run a client access transfer. I would like the user to be unaware that this transfer has been done. thanks
Does anyone know of a way to transfer a file from the iSeries to a pc using CLP or RPGILE? I do not want the user to have to run a client access transfer. I would like the user to be unaware that this transfer has been done. thanks


