• Variable number of parms in CL

    I know I have check in RPG for a variable number of inputted parms. Can I do that in CL also?

    CharlieBrowne41,380 pointsBadges:
  • qshell job log

    Hi When I run any qshell command in my cl program, the job log for qshell gets created in QZSHSH. Is there any way that we can prevent creation of such job logs. Thanks Vivek

    VivekSharma120 pointsBadges:
  • Capture Return value of Script in CL Program

    Hi I am running a script file which returns some value at the end of the script. i.e. the last line of my script is "exit returnVal". The value is also populating in the returnVal variable correctly but I don't know how can we capture this return value in my cl program. Could anyone please help me...

    VivekSharma120 pointsBadges:
  • ODBC connection and IP address

    Is there a way to get the IP address of a client/server job attached to QZDASOINIT?  I can see message CPIAD02 in the QZDASOINIT job log which lists the user and IP address and I need to get this information into a CL program which runs each time the user connects to the QZDASOINIT process. ...

    BISHT321245 pointsBadges:
  • OPNQRYF HOW?

    HI Everyone,  i need a idea, i have on CL program (pgm parm) a field wndate(8,0) and i need make a opnqryf (file1) compare wndate with mvdatl(8,0), but i only wanted the first 6 position (yyyymm) of both . Anyone give a idea how can i made this? OS/400 in V5R4M1 thanks in advanced.  

    BUG68235 pointsBadges:
  • AS/400 Record Count

    I need a command to use in a CL program that will give me the record count for all records in a file. RTVMBRD will do it for a single member, but I need it for MBR(*ALL). I know I can dump a *MBRLIST to a file and tally it up form there, but if someone already has this, why reinvent the wheel.

    CharlieBrowne41,380 pointsBadges:
  • Handling errors in CL Programs

    I've been searching all over the internet (and this site) looking for a good way to generically handle errors within a CL program.  Everything's seems very vauge to me. What I'm looking to do is something like this: CHGSPLFA   FILE(&SPOOLFILE) SAVE(*NO)  MONMSG     MSGID(CPF0000) ...

    Dcantwell470 pointsBadges:
  • I have more than 1000 objects in one library need to segregate type wise.

    I have more than 1000 objects in one library need to segregate type wise like Program, Report, CL, Display Screens & also we write some Report Programs in RPG.[o:p][/o:p] Anyone have idea to segregate objects without any manual efforts.[o:p][/o:p]

    MKamil110 pointsBadges:
  • While calling a command via a CL program exposes my command line.

    While calling a command via a CL program exposes my command line. Is it possible to hide the command line while executing the command via cl. I need to do this as iam executing the cl with adopted authority.

    JohnsonMumbai1,160 pointsBadges:
  • Save IXS CL program

    Does anyone out there have a CL program which saves all the objects on an IXS?

    WoodEngineer6,765 pointsBadges:
  • How to retrieve the jobq in which my current job is running in CL?

    I have a CL program which will run as a SBMJOB. Now I want to see whether it is running in QBATCH jobq. If not in QBATCH, I have to resubmit it into QBATCH. How I can do it in CL?

    JustinA40 pointsBadges:
  • Rename file in CL

    Hi all. I need to check if the file exist, and rename it. t How do I check file existing in CL? Thank you.

    Larisagas265 pointsBadges:
  • Displaying on the message line through CL

    Thru CL how can I display a message on the message line?

    22917515 pointsBadges:
  • CL date extraction in AS/400

    I want to take out date value from today to last 7 days in CL command. Kindly help

    Sangay635 pointsBadges:
  • FNDSTRPDM – how do i find joblog

    I am using FNDSTRPDM command in my CL program for each file/field and running through RPG programs if the string is found. If I specify the wrong file (QRPGLESRC) and the program is found in QRPGSRC, I get the error PDM0055, which i can monitor. However, if the program is found and the string is...

    Dhaloo25 pointsBadges:
  • Accessing OUTQs and writers in AS/400

    I have been tasked with writing a CL to accept the following incoming parameters USER NAME, OUTQ NAME, LIBRARY NAME, & RETURN CODE.

    UARTJ105 pointsBadges:
  • Compiling a CL program

    I have a CL pgm in that i used the OVRDSPF command. Now i changed the display file. I'm sure i need to compile the RPG programs that are using the display file. Have a doubt if i need to compile the CL pgm or not?

    Kvrs8070 pointsBadges:
  • What date is returned after midnight rollover on AS/400 job queue?

    We have nightly jobs that are queued up to release at 23:59 each night. Depending on how many are released at once, it may or may not make it into the jobq before midnight. The main CL program calls a second CL program after midnight. The called CL program uses the RTVJOBA command to get date....

    Canuhp235 pointsBadges:
  • Retrieve Journal Receiver Attributes

    We have different Environments on our Productions system with separate Journals and their corresponding Journal Receivers. Using a CL Program i want to retrieve the Journal Receiver Attributes of all the curently attached Journal Receiver in the system.

    Haaiderali215 pointsBadges:
  • CL program for measuring tape backup

    i need an example of cl program that reads tape volume and executes the commands in their ok.

    as400tarek105 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