• Printer files in RPG ILE

    How can we create and use printer files in RPG ILE. I'm new to AS/400 and I want to know about printer files and reports as my company asked me to.

    Rpgile25 pointsBadges:
  • Reading a output queue of spool files in RPGLE program

    I want to read a output queue which contains spool files so how could I read it through a RPGLE program. Actually I want to read a output queue and get the list of distinct spool files and also want the count of spool files with the same name.

    munduuu435 pointsBadges:
  • MOVEA Equivalent command in free format RPG

    Hi, I have to move each character in a string to an array. In RPG, I can very well use the command MOVEA for this purpose but I don’t know exact command in free format RPG. Can anyone help me on this regards?

    frmdeva365 pointsBadges:
  • RVI Software

    I set up all our AP checks images for routing to an IFS Folder (PC). There are 12,763 images! When I ran the RVI program IMMUTOR1 it aborted with the message below. How can I clear the “R” from some of the existing APCHK’s I have routine so I can reduce the number of images to be routed? I...

    VTX10 pointsBadges:
  • DBCS File Support – Data type

    I am changing our current application software to support DBCS. As this software needs the ability to run in both an SBCS environment and a DBCS environment, I need to re-define fields at the file level to allow DBCS data. Specifically, is it better to use data type "E" or data type "O" to define...

    anncyb80 pointsBadges:
  • Debug batch job

    Hi all, how do I debug batch job? Please give me in details. Thanks.

    chakramdhar65 pointsBadges:
  • Binary Field

    How do I populate a binary field (field length of 9), buffer length of 4, with the value 10002- (right justified)? I need to do this in an existing RPG ILE program. Help?

    Piano520 pointsBadges:
  • AS400 – RPGLE, convert character to numeric.

    Hi all...!         Here i give you the code. DNum_tmp           c              '18745678' I declared Num_tmp like this and i did some operations then i got  Res_tmp = '18745678' . Now the question is i want to convert this char value to decimal that is addtionable. is...

    Sureyz2,475 pointsBadges:
  • Convert WRKACTJOB to DB file

    Hi, Is there any COMMAND OR API or any METHOD to put the result of WRKACTJOB to a database file and then read in a RPG...? There was a command "CVTWRKACT" but i m not able to find it now in my server.

    Michael Tidmarsh33,080 pointsBadges:
  • Apply exclusive locks on a physical file

    How to apply exclusive lock with no read on a physical file?

    Divyasrin865 pointsBadges:
  • Is there any way to get all the name of the Modules attached in a PGM?

    Is there any way to get all the name of the Modules attached in a PGM. API QCLRPGMI only gives Number of Modules..but not the name. Also we cant get the outfile of DSPPGM. Thanks.

    Michael Tidmarsh33,080 pointsBadges:
  • Determine Java Version from RPG

    I have multiple solutions dependent upon the version of java or the lack of Java on an iSeries, all controlled from RPG. From RPG, how can I determine if java is installed on the machine and if installed, what version? Any ideas?

    DaddyCOZ0 pointsBadges:
  • How Opcode ” MOVEL (P) ” works?

    Is it padding? If yes, then how it works & what operation it performs? When to use this code?

    Kundankumar 8375 pointsBadges:
  • ILE – module change

    Hi, How to find the list of programs using a module (other than find string or hawkeye) which needs to be modified? If a module used by more than 15 program needs to be changed, what are the ways to update the impacted programs (apart from running UPDPGM command)?

    RJES45 pointsBadges:
  • How to update a service program into a program?

    Using UPDPGM to bind a module into a program works fine.  Do I use this same command to bind a service program into a program (and just put it in the Module parm)? Or is there another command similar to UPDPGM? An older version of the service program is currently bound into the main program. I...

    aceofdelts1,950 pointsBadges:
  • Changing authority to access /qntc files

    Hello. I have written an rpg/iv program that allows users to maintain certain network pc files from a green screen. it uses the /qntc file system to access those pc files. the problem I ran across is: unless the i5 userid and password is identical to the network userid and password, the program is...

    RickMe110 pointsBadges:
  • How to group up data in RPG ILE

    Hi all, How I can retrieve grouped data on basis of two database fields in RPG ILE? How I can track data which is already retrieved and skip those records in next iterations? (Logic should be like Group By clause in SQL) I just want some basic logic. Thanks in advance,

    hunshabbir72,245 pointsBadges:
  • Writing variable length records on AS/400

    Writing variable length records on a AS/400. Can it be done and how?

    John10285 pointsBadges:
  • ILE RPG Dates

    How to extract and assign to a variable (Date Type) the Current Or System Date?

    PJBCh5 pointsBadges:
  • AS/400: Write header details to flat file

    Hi, I have a flat file program in RPGILE. I need to write the header details (which is given by user in display screen) to flat file. When user given company is 50 then that should to write header part like company=50. Program is successfully write the records to flat file addition to that i need...

    Askt1140 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