AS/400 Tag Directory

Featured AS/400 Questions

  • Create CL program Update in AS/400

    Dear All, I am learning to write CL program in AS/400 for DB2, maybe call new programmer. I have a file1 include ( field 1 ->10) to have value as: Field 1 Field 2 Field 3 Field 4 Field 5 Field 6 Field 7 Field 8 Field 9 112118 P I 1 A B C D E I want to create CL program update file 1 in AS/400 to...

    Hvphong0311100 pointsBadges:
  • OVRDBF on iSeries used in a CL program

    I am using an SQL statement to insert into a file. I am doing some sub-stringing on a record then inserting into another file. I am getting a LVLCHK error on the output file. How can I use OVRDBF in my CL to insert to my output file? My file PROFILE has the data and PROFILE2 is my output file and...

    Rrbond07440 pointsBadges:
  • AS/400 CLLE

    What is MONMSG in CL program? And why do we use this? I am not able to understand this concept?

    vivekntt21185 pointsBadges:
  • AS/400: Use of OVRDBR command

    What is the use of OVRDBF command and when can I use it in CL program?

    vivekntt21185 pointsBadges:
  • AS/400: How to read a file in CL program

    How we read a file in CL program and which command is used?

    vivekntt21185 pointsBadges:
  • Writing a record to a physical file from CL

    Can I write a record to a physical file from CL? Once I do a test on a record, and before I delete the record, I wanted to write it to a physical file so later I can query over it to list what records were deleted.

    Rrbond07440 pointsBadges:
  • CL program to calculate 31 days less than system date

    I want to write a CL program that will calculate 31 days less than the system date. If a journal receiver is 31 days older than the system date I want to delete it. I already have the logic in another program to also test on whether or not commands SAVCHGOBJ and SAVLIB were used. I normally use...

    Rrbond07440 pointsBadges:
  • Adopting authority in CL program

    I've already created an outfile of all the user profiles and related information. I now want to write a CL program that will read the file-taking each profile and running command DSPPGMADP. Can command DSPPGMADP be used in a CL program?

    Rrbond07440 pointsBadges:
  • Display the Contents of a File

    I need to be able to display the contents of a file named: GTCSTP. After that, I need to display a message that program execution has been completed.

    vexumy15 pointsBadges:
  • What is the use of ‘EDU’ (education) command in CL?

    How can I use the CL command 'EDU' (education)?

    rajat01170 pointsBadges:
  • Calling RPG program without Parameters

    1) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' accepts 3 parameters. But i need to call PGM 'B' without passing parameters. How to achieve this??? 2) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' doesnot accept parameters. But i need to call PGM 'B' with...

    0 pointsBadges:
  • How to retrieve system name on which I am working in AS/400?

    How do I retrieve system name on which I am working in AS/400?

    M265 pointsBadges:
  • Client Access download on Windows XP

    How can I get client access to download for a fresh Windows XP 32-bit machine?

    AIsenberg5 pointsBadges:
  • iSeries Client access process pcscm.exe not ending

    After starting a number of CA sessions, and then closing all the windows, the pcscm.exe and pcsws.exe processes in Windows XP does not end. Before I can start a new CA session, I must end these processes. How come these processes do not end after closing all CA sessions.

    CoderHal380 pointsBadges:
  • Program not crashing – MCH0603 error

    I am calling a RPGLE from CL program. RPGLE program tries to add records to a 100 element array. When the count reaches 101, I expect the program to crash with error MCH0603 (Range or subscript error). However, the program ends and I don't get an error message on screen. I have to check logs to...

    sri8707165 pointsBadges:
  • What is the usage of OVRDBF in CLP?

    In below example whether FILE need to defined. OVRDBF FILE(INPUT) TOFILE(xxxx/QRPGSRC) MBR(XXX). What would be the result of the command?

    Anshan150 pointsBadges:
  • Which file-member is in use by the program?

    Within a CLLE program, I want to know which file-member the program is using. Is there a command that can be used to see the actual member that is in use?

    BertHeesakkers25 pointsBadges:
  • iSeries Client Access Macro Error

    When a user runs the macro on the incorrect screen format. The session locks up. How can I check to verify the SendKey was successful?

    waynethompson20 pointsBadges:
  • How to pass numeric data to CL program from AS/400 command line

    Hi All, I want to pass numeric data of length (8 0) to my CL program while calling from AS/400 command line but program is not receiving correct value into the program. Can anyone please help me how to pass numeric data?

    Mohan K695 pointsBadges:
  • AS/400 User Profiles

    We have an application running in AS/400 system with RPGLE and CLLE programs. Now we have developed a web portal with PHP for some specific tasks and connected to AS/400's DB2/400. The question is user profiles permissions and special authorities in AS/400 will work same, in anyway of accessing the...

    Sureyz2,825 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.

Thanks! We'll email you when relevant content is added and updated.

Following