• Creating multiple files from a single code base and FTP.

    This is a two part question. 1. I'm looking to use a COBOL program to create multiple files in a standard library. Is there a way to programatically write multiple files from a single program. I had someone indicate that I could call to CL instream and actually create multiple files on the fly. 2....

    Bew30 pointsBadges:
  • Program calls on AS/400

    How i can check that my previous call to a program from other program was successful. Only after successful call and run only i can call another program. How to do check this in RPG and CL?

    ten20081,150 pointsBadges:
  • OVRDBF Not working as supposed to

    Here's the program flow CL1 calls RPG1 RPG1 calls CL2 CL2 has OVRDBF on fileA that is being used in RPG1 When the control gies back to RPG1, the file is not overriden. So I thought it might have ended at call level and I tried to do OVRDBF in RPG1 after the control come back from CL2 but still no...

    Jahan50 pointsBadges:
  • how can we use more than 1 file in CL ?

    Multiple files to used in CL

    Khadar90 pointsBadges:
  • CPYTOPCD gettig an error in CL

    Hello, This is my command in CL CPYTOPCD FROMFILE(QS36F/&SVPF) + TOFLR('c:\testfolder\text.txt') + TODOC(&SVPF) REPLACE(*YES) I get an error at run time. Error message as follows: 13308 - CPYTOPCD FROMF QCA ILE(QS36F/Y15162612) TO FLR('c:\testfolder\text .txt') TODOC('Y15162612 ') REPLACE(*YES)...

    Lenny2113115 pointsBadges:
  • 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:

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