• AS/400 user profile update

    What is the CL code to DISABLE a number of AS400 profiles using a specific user list

    Barrygg10 pointsBadges:
  • Retrieve pdf file through JAVA from IFS

    How can I retrieve a pdf file stored on IFS generated by CL program through JAVA screen?

    Atul1015 pointsBadges:
  • How to retrieve the current version of AS400 you are working on?

    Hi, Does anyone know how to retrieve the current version, release and model number of the AS400 box you are working on. We can view this information in spool files, but I want to retrieve this information through both CL and RPG program. Regards Shruti.

    Shrutigupta165 pointsBadges:
  • How to create a code using diff colors in RPG & CL

    How to create a code using diff colors in RPG & CL

    Ssaran205 pointsBadges:
  • Comparing ID and password in an AS/400 login screen

    Dear friends iam quite new to this AS/400 . could you please let me know how to compare the id and password in a login screen..how to connect the cl program and display file to perform login operation .Do i need to write rpg code for that ..Pls help me out with this code in detail ...

    RNB5 pointsBadges:
  • Delete old spool files

    The following question was recently submitted by a user via e-mail: I am trying to create a program in CL to delete old spool files on the AS400. I am using the following code, but my program does not recognize any of the commands. Does anyone have any suggestions or solutions? Thank you very much....

    JennyMack4,280 pointsBadges:
  • How to run SQL script with parameters in CL

    I have to call an sql script with parameters from an existing cl program that runs daily (in batch). If I call it from the cl program, it is giving me this error "Pointer not set for referenced location referenced".

    Ara5 pointsBadges:
  • Check lock before copy

    Could u pls tell me how to check a file is available to copy records in CL

    pwopen12240 pointsBadges:
  • Print a txt member of a qclsrc file using strseu does not work from Advanced JS

    I want to print, a “txt” file member, from a qclsrc file using strseu, option 6. I have a cl (Ovrprtf & strseu) that accomplishes this interactively, but when I call this cl from an Advanced JS, job I get an error {CPF000,1 error - Error found on STRSEU command,) and it does not print. The...

    Opssvr055 pointsBadges:
  • Setting lower limits In CL

    I know how to declare a file and read through the data in CL....but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend...etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne '0' DO Goto Loop: Enddo. Now I want to read through...

    RonKoontz1,780 pointsBadges:
  • CL/400 program for copying files

    regarding as/400. I need to create a CL program for copying all files from HWMSFMODS(library) to HEXPFMODS(library). we are suppose to clear all data in from files. Please advice...

    Askt265 pointsBadges:
  • Retreive Document Object name from IFS folder in CL

    Iam in need of idea and a CL command to retrieve all the files(STMF) from the IFS folder .

    478730 pointsBadges:
  • Rpgle paramters from a Cl

    I have a rpgle program with parameters. I can watch the parameters change in the program. When I call the program from a Cl language the parameters come back blank.

    Curtiss10 pointsBadges:
  • Retreive Stream file size through CL

    Hi, How to detemine the file size of a '.TXT' file through CL program? Its a file stored in the IFS folder. Is there any specific command to do this? I need to continuosly look into this folder for the file. Fetch the file size. Wait for some sec and then again retrive the file size. If the size...

    Vijesh Bhat70 pointsBadges:
  • QMQRY not a valid Query Management variable.

    Hi there, I am trying to pass parameters to QMQRY but get the following error. CALL PGM(JCCSTREP2) PARM(C165) 'C165' is not a valid Query Management variable. Error found on STRQMQRY command. CPF0001 received by JCCSTREP2 at 2800. (C D I R) the CL pgm that call the query is as follows: PGM...

    NormFeile25 pointsBadges:
  • Trace Job (TRCJOB)

    One of my old CL Prog uses this cmd TRCJOB MAXSTG(1024) EXITPGM(LIB/MYPGM) after migrating to V5R4 it is not working can anybody tell me how to use in V5R4.

    Wasifzaheer35 pointsBadges:
  • clearing multple members in a physical file

    Does anyone know of a way (or utility) to clear multiple members in a physical file ? i create multiple members for the file on the fly based upon date/time in a cl program. the file is a weekly archive of data from a transaction processor, and i want to clear it and start over on a weekly basis. i...

    Lacag100 pointsBadges:
  • Check expiry date of tape (using iSeries and BRMS)

    I am chasing a simple CL program to check if the currently loaded tape has the data as *expired so it can be written to under BRMS. It shouldn't be that hard but I've searched for literally days and can't find anyone to help.

    GarryS15 pointsBadges:
  • AS/400 CL Auto Reply to “Load Next Tape messages”

    Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.

    Techman965 pointsBadges:
  • Unable to over ride a PF member

    Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.

    Ayterrobias5 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