• Using the command RCVMSG

    There are numerous reports which automatically print throughout the day. Often there may be a message waiting on the printer and because no one was expecting any reports, no one discovers the problem until hours later. (By this time there may be quite a few reports waiting to print) I was...

    GHENDER200 pointsBadges:
  • Performance tunning in iseries

    Hi everyboby, How to do performance tunning in iseries ?Corrently we are using V5R3.Now a days system is going slow.anybody have CL program to do performance tunning.Or give same easy steps to do this. "Thanks in advance" Regards, Baskar M.

    MQ admin110 pointsBadges:
  • SAVDLO command: Folder name

    I am running an i5 with v5r4.  I am trying to same a given folder using SAVDLO *all FLR('QDLS/TempFlr') but it keeps telling me the folder is not specified correctly or not found.  I can use WRKLNK and get to it just fine.  Suggestions?

    ProjMan25 pointsBadges:
  • delete records from a directory with IFS root using CL

    How to delete records from a directory with IFS root using CL based on the timestamp of the records.

    Manish8465 pointsBadges:
  • Job Information

    I want to retrieve Job number & user name for a particular job name. I come to know that through 'QUSLJOB'or 'QUSRJOBI' we can retrieve Job number & user name for a given job name.Is it possible ? I tried doing in the system through CL but it retrieves the current job name info running in the...

    Sundaras4005 pointsBadges:
  • Calling non-as/400 programs via an RPGLE or CL program

    Can it be done? If so, how would I go about doing this? Let's say I just have a small VB program I wrote that displays a picture. Can I let's say somehow link the VB program call to a CF key, like CF08?

    Eric Witham690 pointsBadges:
  • CL/400 – I want to know about QRYSLT(Please see below explanation)

    Hi, I am not well versed with code in CL/400, i know the concepts. I want to know what is he doing in the below code. e.g usibng the symbols '|>' and '||' and '<|' IF COND(&TODUE7 *NE '0000000') THEN(DO) CHGVAR VAR(&QRYSL) VALUE(&QRYSL |> ' *AND (ODUDT *GE + ' || &FRDUE7 || ') *AND')...

    svankipu620 pointsBadges:
  • CPYF selecting a record by a variable

    Hi friends, I have a CL and I dont know how making a cpyf selecting records with a variable, like this example: 5722SS1 V5R3M0 040528 Control Language DLTOLDSPLF/CARGA TDBSBC14 04/06/08 19:54:32 Page 1 Program . . . . . . . . . . . . . . . . . . . : CARGA Library . . . . . . . . . . . . . . . . . ....

    SILVARB440 pointsBadges:
  • can Synon create a CL code

    How CL code is implemented in Synon

    Devanand051015 pointsBadges:
  • SNDUSRMSG equivalent in RPG (including VALUES and DFT)

    Some time ago I found a piece of code by Scott Klemens regarding the implementation of SNDUSRMSG in RPG using QMHSNDM and QMHRCVPM. I need to do the exact same thing, however I also need to pass the values for the VALUES and DFT keywords used with SNDUSRMSG. Does anybody have an idea on how to do...

    Roelpeeters5 pointsBadges:
  • Error when executing RUNSQLSTM from CL program

    I am trying to use the RUNSQLSTM command. I get the error message "statement not allowed" Not really trying anything fancy. In CL program RUNSQLSTM SRCFILE(jwe/QCLSRC) SRCMBR(SQL1) + COMMIT(*NONE) In SQL1 I have SELECT mstid, SUBSTR(ftxref,1,1) AS ftxref_1, SUBSTR(HEX(SUBSTR(ftxref,2,7)),1,9) AS...

    Tcwalls5 pointsBadges:
  • CL error message

    What is the full form of CPF in CPF0864 ????? Please Help......

    Vishal2370 pointsBadges:
  • Maximum number of CL variables with IBM i 6.1

    What is the maximum number of variables that you may define using the DCL command in a CL program on an IBM i version 6.1 system? Also: Where is this documented, if you know? I couldn't find it in the online help, Information Center, or CL Programming PDF. Thanks!

    I5os10 pointsBadges:
  • Batch Job Ends without Calling Program on AS/400 V5R2M0

    Hi all, I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1. I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB. I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the...

    NarasimhaReddy225 pointsBadges:
  • DSPF / SNDRCVF

    Can I declair two files in one single cl program and use the command SNDRCVF

    SOUTHEAST30 pointsBadges:
  • disply emp details on the screen

    Hi , can any one of you share with me a sample code of a cl when a user enters a the employee ID on the screen read the emp table and display the employee details on the screen.

    RMANI10 pointsBadges:
  • call php from cl

    Hello, i call a php program from my cl with CALL PGM(QP2SHELL) ... the php is called, but then opens the QSHELL. can i close the QSHELL from my php programm? Or can i call a php programm without starting qshell? btw. can i sent parms back to the cl from php? Thanks for your help i am just starting...

    Jogisarge30 pointsBadges:
  • AS400 CL, RPG TUTORIALS

    Hi Can anyone sugguest a good website that provides free turtorials on CL & RPG. Mabey with PDF downloads. Thanks  

    Jkbritvic65 pointsBadges:
  • job status

    we have one thousand jobs of which we have 4 critical jobs called jobA(emp), jobB(desig), JobC(sal), jobD(dept)  once jobA completes jobB kicks off and so on based on the job status i need to display a message on the user defined screen (DSPF) showing the current status  if   jobb is running...

    RMANI10 pointsBadges:
  • display file driven by cl

    Is there a sample CL/SQL code on how to display a message on the screen based on the last record data in a table. there is a stat feild in my table for eg if stat is 1 then display test1 if stst is 2 then display test2

    Mannar5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following