• 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')...

    svankipu560 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:
  • 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?

    Eric Witham690 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:
  • Programmatically place outq on hold when empty

    Hi, I have been tasked with writing a CL program that will be run every night that releases a held Outq and allows the contents to go through then, put the outq back on hold once there are no more spool files in it. Is there an API or something I can use in a CL program that will check for an empty...

    Ronnieb345 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:
  • User Signed on Notification

    Hi. If a user profile already has a CL in the initial program to call parameter and that CL can't be modified to add a sndbrkmsg, is there another way to have a message sent to the admin that a specific user has just signed on to the iseries?

    Bsalley15 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:
  • call php script from CL – slow

    Hello, i try to call a php-script on our 520. CHGVAR     VAR(&CMM) +                                                VALUE('/usr/local/Zend/Core/bin/php +                    /www/zendcore/htdocs/test.php') QSH       ...

    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