• 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 Tidmarsh32,045 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 Tidmarsh32,045 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,930 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,065 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:
  • Examples of data queue in IBM AS/400

    I would like know how to to use the Dataq. Please send me examples in RPG ILE/400 as possible. Thanks

    Aarancibia15 pointsBadges:
  • Calling RPG Proc from COBOL ILE

    How do I call a RPGILE procedure embedded in a service program from COBOL ILE? I am not very well versed in cobol as I worked mostly on RPG/400 and ILE. I checked few of the notes but was confused abt the 'Call Linkage type' and Call Procedure? Can anyone say when each one is used and what is their...

    RPGPGM40 pointsBadges:
  • SELECT AND OMIT in RPGILE

    hI,GUYS,Actually select and omit used in lagical file to control the records,values like. But without key field how can i use these select and omit condition in logical file? And one more doubt is what is the exact uses of %SCAN,%SUBST, %SUBDT,%EOF,%CHECK,%COMMIT,%FOUND.Plese explain these

    abhisheka1385 pointsBadges:
  • CALLB,CALLP,CALL

    1. When are dynamic calls(CALL) preferred to static calls(CALLB & CALLP)? 2. Performance wise which one is faster, CALLB or CALLP ? 3. I know CALLP checks the parameters during compile time and has an advantage over CALLB. But any scenarios where CALLB takes the advantage over CALLP ? 4....

    anuppdas105 pointsBadges:
  • Date handling in RPG3

    I want to ask how can I match two dates. I have been doing programming in RPG ILE which was quite easy to handle dates. Now I have been given assignment of RPG3. I have created a DS with 4 subfields of Century, year,month and day I have taken input from user and pass it to DS now should I manually...

    hunshabbir72,065 pointsBadges:
  • Catching a particular error code in RPG3

    Hi all How can I monitor a particular error code in RPG3 like we do in RPG ILE. For example I am getting CPFXXXX code and I want it to monitor how I should do that. Thanks

    hunshabbir72,065 pointsBadges:
  • Calling RPG ILE code from RPG3 code

    How I can call an RPG ILE program from RPG3 program with parameters. I have searched on the net but all the examples I got are related to calling RPG3 from RPG ILE code.Thanks

    hunshabbir72,065 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