CLP Questions and Answers

Recent IT Questions

21 - 40 of 186

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.

View Answer   |  Nov 24 2008  5:05 AM GMT
CLP, CL, AS/400 backup
asked by Techman96

  5 pts.

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

View Answer   |  Oct 25 2008  6:04 AM GMT
CLP, CL, CPYSPLF
asked by Zbbwoc

  85 pts.

Retrieving system name using a CLP

How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?

View Answer   |  Oct 13 2008  1:28 PM GMT
iSeries, CLP, CL
asked by MELINDAD

  5 pts.

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??

View Answer   |  Sep 24 2008  4:44 PM GMT
CLP, RCVF, CRTDUPOBJ
asked by RotoMan

  30 pts.

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

View Answer   |  Sep 18 2008  12:31 AM GMT
CLP, RPGLE, VB
asked by Lwk

  25 pts.

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) + ...

View Answer   |  Sep 15 2008  0:44 AM GMT
CLP, CL, ADDJOBSCDE
asked by Tjgm88

  440 pts.

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

View Answer   |  Aug 7 2008  5:09 PM GMT
iSeries, i5, CLP
asked by Wpoulin

  1115 pts.

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.

View Answer   |  Jul 17 2008  5:24 PM GMT
CLP, CL, SQL statements
asked by SHhand

  15 pts.

trim string values in rpg/400

how to trim string values in rpg/400 or RPGILE OR CLP

View Answer   |  Jul 17 2008  1:22 PM GMT
CLP, RPGILE, Strings
asked by Bu

  60 pts.

how do "call" in RPGLE

how do "call" in RPGLE if program to call is clp with parameter

View Answer   |  Jun 20 2008  12:25 AM GMT
CLP, RPGLE, Call
asked by Iu5

  5 pts.

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

View Answer   |  Jun 11 2008  8:48 PM GMT
CLP, ENDJOB, Command Line Processor
asked by DLM2007

  110 pts.

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

View Answer   |  Jun 2 2008  7:44 PM GMT
CLP, CLLE, Status message
asked by Koohiisan

  1005 pts.

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?

View Answer   |  May 21 2008  2:43 PM GMT
RPG, CLP, RPGLE
asked by ShatteredRaven77

  390 pts.

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

View Answer   |  May 14 2008  10:58 PM GMT
CLP, AS/400 backup, Command Line Processor
asked by GLinds01

  25 pts.

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

View Answer   |  Apr 2 2008  2:57 PM GMT
CLP, Apigent Technologies, System performance
asked by Ashnirody

  100 pts.

CLP to CLLE

How can I conver a CLP progra to a CLLE program

View Answer   |  Mar 18 2008  2:52 PM GMT
CLP, CLLE, iSeries development
asked by Sarit

  5 pts.

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

View Answer   |  Feb 20 2008  3:23 PM GMT
CLP, OPNQRYF, RCVF
asked by Ashnirody

  100 pts.

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.

View Answer   |  Feb 13 2008  3:50 PM GMT
RPG, CLP, MQ
asked by Andy Mansell

  55 pts.

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

View Answer   |  Jan 24 2008  3:10 PM GMT
AS/400, iSeries, RPG
asked by Turing2008

  10 pts.

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

View Answer   |  Jul 23 2007  2:48 PM GMT
PC/Windows Connectivity, Application development, CLP
asked by Laurie9

  0 pts.

21 - 40 of 186