CLP Questions and Answers

Recent IT Questions

1 - 20 of 185
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

Retriveing massage from submited job in CLP

I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go...

View Answer   |  Nov 14 2009  9:22 PM GMT
CL/400, CLP, CLPROGRAM
asked by Mithunpaul

  5 pts.

AS/400 Program To List Physcial Files with Deleted Records

We currently have a program to list Physical Files with Deleted Records. The CLP utilizes the DSPFD command to build an out-file. The parameter for 'Type of Information' is *MBRLIST and 'File Attributes' is *PF. However, the out-file lists the data at the member level. Also, teh job takes TOO LONG...

View Answer   |  Nov 3 2009  9:32 PM GMT
AS/400, CLP, List
asked by Jmnram

  30 pts.

Database Creation using CLP

Hello Everybody, I have a small question. First I will explain my requirement. Requirement: I have a database file let’s say “PF1”; I am fetching some records from this file based on some criteria. This fetched record I have to write to one database file “PF2” (This contain six...

View Answer   |  Oct 7 2009  5:18 PM GMT
CLP
asked by BibinGeorge

  110 pts.

FTP through CLP program

Hello, I have a script written for 'INPUT' file during the FTP process. The user-id and the password are being hardcoded in the script.To maintain the security I want to encrypt the password alone in the script.May be when the FTP is in action, the password can be retrieved from a file or data...

View Answer   |  Oct 1 2009  5:45 PM GMT
AS/400 FTP, FTP, CLP
asked by Sris1986

  55 pts.

Best way to retrieve values, SQL or Queries and how?

Hello everybody, my problem is, in a iseries i have ia file and in this file exist one field with 10000 lenght (character) and i want retrieve a value like (  60F: ) but i don´t know in what position, after i find this value i need the follow values. ex: this is a part of one record  {4: ...

View Answer   |  Oct 1 2009  10:33 AM GMT
SQL, Query/400, CLP
asked by BUG68

  80 pts.

How Can I pass multiple USER ID's to QEZSNDMG

Does anyone have an example of passing multple user id's to the API QEZSNDMG?  I have a CL that calls QEZSNDMG and it works fine with one user or *ALLACT.  I need to supply a list of multiple users that I can pass to it.  Anyone have an example of that? Software/Hardware used: CLP on iSeries

View Answer   |  Sep 24 2009  3:59 PM GMT
QEZSNDMG, CLP, AS/400 API
asked by GaryT

  50 pts.

Truncating parameters!

I haev a 6 position alpha variable that has a value of '12345 ' (a trailing blank). When I submit a job that does a CALL to a pgm with that variable as a parm, the submitted job has the value of that parm as '12345' with no trailing blank. Both pgms declare the variable as 6 *CHAR. I know there are...

View Answer   |  Sep 9 2009  8:10 PM GMT
CLP, parameter values, Variables
asked by JeffWilson

  20 pts.

AS/400: Close open files

Dear sirs, could you please help me with the following problem: I want to close all open files that are left open from previous different steps (pgms rpg , rpgle , clp) that were run. I have tried to use a CLP pgm using RCLRSC, RCLRSC *CALLER with no success. Could you please advise me how to close...

View Answer   |  Sep 8 2009  9:24 PM GMT
AS/400 development, RCLRSC, CLP
asked by SAMANDI

  75 pts.

STRQMQRY

If you use a CLP to pass parameters to a STRQMQRY command. How do you disable prompting this command.

View Answer   |  Aug 5 2009  5:19 PM GMT
STRQMQRY, CLP
asked by Sorella

  30 pts.

file transfer via client access

Hi, in order to upload files from pc, i will usually write a FTP script in rpgle and trigger the FTP command in CLP to 'get' the file. due to security reason, FTP now is not allowed to use. May i know is there any way to upload pc file via client access with SCRIPT like FTP. THANKS.

View Answer   |  Jul 13 2009  4:43 PM GMT
RPGLE, FTP, CLP
asked by Boulevard

  55 pts.

converting s36 procedures into as400 mile clp programs

is there a conversion command to convert s36 procedure into clp programs?

View Answer   |  Jul 1 2009  4:50 PM GMT
CLP, CLPROGRAM, AS/400 programming
asked by Bevwal

  10 pts.

Using SQL Connect Statement in SQLRPGLE

I need to use the SQL CONNECT statement within a SQLRPGLE program to connect from one AS400 system to another. I need to get data from one file to another. Does anyone know how to do this? Can it be done within a program. I have no trouble when I do it on an SQL command line... I use CONNECT to...

View Answer   |  Jun 24 2009  9:00 PM GMT
SQL, RPGLE, CLP
asked by JCCPT

  5 pts.

Clearing a window in CLP

I am calling a window program from a CLP program. When I try to redisplay the origina screen the window data stays on the screen. How can I clear this old screen data?

View Answer   |  Jun 23 2009  2:41 PM GMT
CLP, CLPROGRAM
asked by Habegger

  5 pts.

How can I use FNDSTRPDM with CL

HOW CAN I USING "FNDSTRPDM" BY CLP AND THE VARIABLE OF "FIND 'string' " LAST CHARACTER IS A SPACE ?

View Answer   |  Jun 12 2009  10:30 AM GMT
FNDSTRPDM, CL, CLP
asked by TSCTHOMAS

  5 pts.

MONMSG

where could i get all the MONMSG list of messages to code in a CLP?

View Answer   |  May 27 2009  6:21 PM GMT
CLP, MONMSG
asked by Ten2008

  715 pts.

Retreive Stream file size through CL

Hi, How to detemine the file size of a '.TXT' file through CL program? Its a file stored in the IFS folder. Is there any specific command to do this? I need to continuosly look into this folder for the file. Fetch the file size. Wait for some sec and then again retrive the file size. If the...

View Answer   |  Feb 25 2009  11:23 AM GMT
CLP, AS/400 Control Language, Stream files
asked by Vijesh Bhat

  70 pts.

joblog as400 printing

I'm running a job that could write many joblogs. What I want: if there are any kind of errors (even those answered with an Ignore) the joblog will print, else there is no joblog printed. I can get prints on a hard cancel of a clp but not if answered with an ignore.

View Answer   |  Feb 3 2009  2:22 PM GMT
CLP, AS/400 jobs, AS/400 printing
asked by Brenger

  165 pts.

I have an OVRDBF command that quit working.

I added 3 fields to each of the files referenced in the OVRDBF command and then recompiled all 5 CLP's that have the same OVRDBF command in them. Here is a copy of the CLP.... CHGVAR VAR(&TITLE) VALUE('SETLMAST' *CAT &YEARC) CPYF ...

View Answer   |  Jan 15 2009  4:38 PM GMT
OVRDBF, CLP
asked by BobAnnBri

  5 pts.

Will RUNRMTCMD hold the host session until the program execution completes in the remote machine?

Hi, When executing RUNRMTCMD to run a long runnibg program in a remote iSeries partition, will the session on the host machine be held until the long running program completes in the remote partition? Any chance that a 'fire and forget' kind of effect can be achieved? i.e. I would like to have...

View Answer   |  Jan 14 2009  1:15 AM GMT
RUNRMTCMD, iSeries programming commands, iSeries
asked by Chandlerbing818

  40 pts.

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.

1 - 20 of 185
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>