• cl which command do we use to update a physical file in CL program?

    which command we use to update a physical file in CL pgm?

    Cyjil10 pointsBadges:
  • RUNSQLSTM

    am executing a RUNSQLSTM out of a CL program that run a source SQL statement in a source file of a library. Everytime the statement is executed I get a output spool file of the SQL parmeters and execution results. How can I prevent this?

    Abbey120 pointsBadges:
  • what is diff b/w CPF0000 and CPF9999

    what is diff b/w CPF0000 and CPF9999

    Hariprasadketha10 pointsBadges:
  • Write a CL to update all jobds on system

    I need to write a CL that will change every jobd on our system w/o having to do it manually.

    CapitalT40 pointsBadges:
  • How do I find out how many lines of source code are on the system?

    Hello. I'm trying to write a program that will tell me how many lines of source code reside on our system. I figured out the first couple of steps, but it just gets more and more confusing along the way, and I really think there's gotta be a better way to get the information i need. So far, this is...

    Eric Witham690 pointsBadges:
  • Difference between CRTPGM command and CRTBNDRPG

    Hi, Can any one please tell me what is the difference between CRTPGM command and CRTBNDRPG command and what is the appropriate use of these commands ?

    Mohan K695 pointsBadges:
  • cl/400

    Hi, Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B....

    0 pointsBadges:
  • EDTOBJAUT

    I am no expert, but I would like to try and make my life easier. I need to find out if there is a way for me to add/edit/delete these authorities per user in a CL program for instance. I am sitting with the problem that multiple files need to be created in multiple libraries, and the authorities in...

    Steyn15 pointsBadges:
  • AS/400 CL program – MSGW status

    My requirement is I want to ensure that CL program enter into MSGW status after processing all the statements. What are the easiest ways to achieve this? (Without calling any programs from the CL)

    KumarPhani255 pointsBadges:
  • Saving spool files from an AS400, restoring spool files to a different AS400

    Hello Does anyone have any previous knowledge on how to save spool files on one AS400, (presumably to tape back up), and then perform a restore operation of these spool files on a different AS400. Note that the client is at V5R3. I am hoping that we can do this procedure with C/L programs ? Please...

    Zenmaster235 pointsBadges:
  • CL Report priniting

    I created a 4 pages report. When I print all the 4 pages prints in 2 papers. Its not prining in 4 pages

    Ije35 pointsBadges:
  • CL Command definition parameter with Mixed valid values

    Hello, I want to create a command with a parameter same as Stream file code page in CPYTOSTMF. It shoud allow only 1 - 32657, *STMF, *PCASCII, *STDASCII. Can someone explain how could I declare parameter to have this ? Thanks Sim

    sim400305 pointsBadges:
  • Reorganization of V5R4 while active

    We are currently on operating system V5R4. We are a 24/7 shop and as a result, I have not had the opportunity to do a lot of reorgs. I just discovered there is a reorg while active command. Can someone tell me how to use this? Does this come with the operating system or is it a separate module we...

    GHENDER190 pointsBadges:
  • Data Extract

    What is the easiest way to extract data from a pipe-delimited text file?

    farmgirl165 pointsBadges:
  • Recieving a diagnostic message in program

    hi i want to recieve message text of diagostic message that encounters in program .I want it in a variable so that i can write it into a error log file .Please suggest a way to trap them and to have the text. i tried using RCVMSG but it dint wor out.   thanks

    munduuu435 pointsBadges:
  • Retrieving system name using a CLP

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

    MELINDAD5 pointsBadges:
  • AS/400 SQL Procedure call from CL program

    I am calling an SQL stored procedure (counts records for a value) from a CL program. I want to send the value to compare to the CL SQL pricedure and get back the count. How do I define the count variable (&COUNT ?) in the CL program? I am using STRQMQRY to call.

    Burmanr10 pointsBadges:
  • Did anyone use DATA structures In CL

    As of V5R4 it is possible to use Data structures in CL similar to RPG. The most useful thing to use is for qualified commands where the qualifie parameter is a File and Libraray. but itl looks to me that it does not work when the parameter is a data structure and the program is CLLE. in CL it works.

    77060 pointsBadges:
  • How to create CL file from Java class

    i m creating a .sh file on the fly from my java code to perform db2 export operation in the code given below. Can I do the same in as/400 to create a cl file on the fly . path = new File(batchfilepath+".sh"); path.delete(); path.createNewFile(); String exitString = "No"; PrintWriter print = new...

    Hn25 pointsBadges:
  • CPYTOIMPF ‘To File’ problem

    The following command: ===> CPYTOIMPF FROMFILE(LTCLIB/WPELG01P) TOFILE(LTCLIB/WPELGCSV) MBROPT(*REPLACE) STRDLM(*NONE) produces error To-file WPELGCSV in LTCLIB not allowed. The explanation says the To file must be an externally defined PF, which it is. I need to remove the double quote marks...

    Lwk25 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