• not a valid Query Management variable.

    Hi, can someone please help me, I am trying to use the QMQRY function to run an update statement. I pass it a variable from the program. Get the following error. is not a valid Query Management variable. Error found on STRQMQRY command. Function check. CPF0001 unmonitored by PGMFCTSEC at statement...

    Pmh5 pointsBadges:
  • RPG Programming Standards

    I'M LOOKING FOR RPG PROGRAMMING STANDARDS. We have always had standards example if you create a report the report should have the date, title, program name, page numbers.  Does anyone have a stanards document or is there anything on the web?   I appreciate your help!    

    Superbusy15 pointsBadges:
  • Can i declare a display file and a physical file in a single CL

    Can i declare a display file and a physical file in a single CL.  Also can u share a sample program, which uses the parameters entered in the display file (using SNDRCV command) and processes records from a physical file.

    JohnsonMumbai1,160 pointsBadges:
  • Append date to FTP file name

    I want to append the date to the file name I am putting on the pc. I am using a cl batch program to process the files on a daily basis. The files are identified in a member in a source file. (PUT ftpdbf/filea filea102408.txt). The files from the 400 are created with a cpysplf command in various cl...

    zbbwoc95 pointsBadges:
  • Create a Stored Procedure using CL and RPGLE programs

    I have an RPGLE program called from a CL program for database files overrides. I want to call the same programs from a stored prodecure on SQL Server from within a Web application. I am brand new to SQL Server but am pretty good on the AS400.

    NCharette20 pointsBadges:
  • Run SEQUEL Viewpoint Client Report from CL

    How can you run a Viewpoing client report from a batch CL job?

    SamH5 pointsBadges:
  • IFS File Attributes

    How do you retrieve the Creation Date of a link file object (an STMF) into a CL program?

    Ricca100 pointsBadges:
  • upload to as/400

    hi, my user can only use client access to upload and download file only (please assume there is only this method), is it possible for me to write a batch file to automate the upload and download. just like ftp, i can always write a script to put all the 'GET' command and trigger the FTP in CLP...

    Boulevard55 pointsBadges:
  • email from rpg

    I want to be able to email from a RPG/CL several .csv files from the IFS

    Joeyski55 pointsBadges:
  • SAVOBJ with OBJ as variable

    Can we use variable in SAVOBJ like SAVOBJ OBJ(&OBJLIST).? I have a file containing list of objects to be saved. I was planning to read and concatenate the object names in &OBJLIST and later use in SAVOBJ. But getting a "Value 'xxxxx xxxxx' for OBJ not a name or generic name. I think the quotes are...

    Raju40060 pointsBadges:
  • Save selected files using RSTOBJ

    I have written a pgm for our package installation which basically extract the objetcs from a save file shipped to customer along with the pgm. Now, before restoring the objects I need to take backup of the required object from the application lib. I have a PF file shipped with the save file which...

    Raju40060 pointsBadges:
  • Calling a procedure from a CL program

    Hi, how do we call a procedure, with parameters from a CL program? Does anyone have examples?

    Siri55 pointsBadges:
  • how to convert spool files to pdf

    I am trying to convert spool files to PDF fromat na d having special Arabic charracters any bod gelp ?

    Aq15 pointsBadges:
  • 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 ?

    TSCTHOMAS5 pointsBadges:
  • self-submitting cl pgm doesn’t release screen

    The interactive code in the CL pgm calls an RPG subfile pgm. The user makes selection, the CL pgm steps to the SBMJOB command, the CL pgm is executing the Batch portion, but the screen is hung up with "X system" displayed until batch job is done. The RPG is turning "ON" *inlr and RETURN is...

    Mccsteven30 pointsBadges:
  • CL DCL Initial Value

    I have a program that assigns an initial value to a variable (&TYPE) in the declare statement (value of 'L'). Is there a difference in how that value is stored as an initial value versus the value loaded using the CHGVAR command? This variable is passed as a parameter to an RPG program and needed...

    Jcov5 pointsBadges:
  • Convert Spool file to DB file

    Hi, I have a spool file which I created by WRKACTJOB (*print).. Is it possible to convert the spool file format to a database file..... What does an OVRPRTF command do ...? Thanks, Yogesh

    Cool400115 pointsBadges:
  • When I call CL by 3 parm. (‘ ‘) change to (‘)

    When I call CL by use 3 parm like this command = CALL PGM(CTLMNUCUP) PARM('MENUA' '1' 'CALL PGMA ('')') In pgm it show Parm3 = 'CALL PGMA (') What the method I can solve? thk u.

    Naveeya5 pointsBadges:
  • How to find out number of members in Source file ?

    Hi All, i want to find out how many number of members are available in one source file. For example i have created one source file (QRPGSRC) in (LIBRARY1) now i want to find how many sources are available in LIBRARY1/QRPGSRC this source in my RPGILE program. Do we have any AS400 command or API to...

    Mohan K695 pointsBadges:
  • CL pgm required to copy data

    I need to create a CL pgm to copy data from 2 files into one. The first file's name to be copied is constant but the second file's name changes on a daily basis. Could anyone help with the syntax required to do this? Thx

    KF35 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