• 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:
  • How to identify the AS/400 program names which is using the Specific module?

    How to identify the program names which is using the Specific module? Module1 is used in Pgm1, Pgm2, and Pgm3. How to identify program names which is related to module1?

    rajeshece1,215 pointsBadges:
  • Record locked by the same job

    Here's the case where my program does several Read operations on a single file at different places. At one of the READ statements it throws error that the record is already locked to this Job. Apparently it would have got locked in one of the other READ operations, but is there a way I can find...

    NetBro20 pointsBadges:
  • Remove comma in Numeric field in RPGLE

    Hi, Please explain how to remove comma in Numeric field in RPGLE. Value in field1(10s,0) - 1,234,567,890 Thanks Dev

    as400dev480 pointsBadges:
  • Maximum number of files to declare in one RPGLE program

    How many files can we declare in one RPGLE program (maximum no. of file)?

    anupsshelke420 pointsBadges:
  • AS/400 SORTA command

    How to sort array in Descending order using SORTA Command?

    rajeshece1,215 pointsBadges:
  • Declare and read multiple logical files in RPGLE

    Is it possible to declare and read the Multiple logical files in RPGLE Programs? Why?

    rajeshece1,215 pointsBadges:
  • Display name as blanks in RPGLE

    FTESTCF IF E K Disk * /Free EmpNo = 100; Chain (EmpNo) TestCF; If %Found(TestCF); Dsply EmpName; Endif; Dsply EmpName; Clear RTEST; EmpNo = 101; Chain (EmpNo) TestCF; If %Found(TestCF); Dsply EmpName; Endif; Dsply EmpName; Above Code Employee NUmber 100 is found in File. Employee Name is coming as...

    rajeshece1,215 pointsBadges:
  • Decide variable name based on value in RPGLE

    I want to move some values to variable in RPGLE Program. I want to decide the Variable name based on the value which i received. Eg: If i am getting 'DEmail:xxxx@xxx.com' from my calling program, i want to move to DEmail Field. All the Fields are available in Display File. How will i achieve this....

    rajeshece1,215 pointsBadges:
  • Check records in RPGLE file without reading it

    How to check the Records Existence in a file without reading a file?

    rajeshece1,215 pointsBadges:
  • How to resolve error message CPF4326 in RPGLE

    I created a file (salary dds) as follows: A R RSALARY A NAME 10 A SURNAME 10 A SAL 10 0 I created one display file for that dds as follows:A*%%TS SD 20121218 034714 KRGUNN REL-V6R1M0 5761-WDS A*%%EC A DSPSIZ(24 80 *DS3) A R RSALDSPF A*%%TS SD 20121218 034714 KRGUNN REL-V6R1M0 5761-WDS A CF03(03...

    Nikrajpapa230 pointsBadges:
  • How to fix EVAL statement in RPGLE PGM

    I have two fields defined in RPGLE PGM. One is in O spec:O BCENTH Zand one is in D spec: D DS D TCALC 10 0 When I do an EVAL statement: EVAL BCENTH = TCALC It gives me a compiler error: *RNF7416 30 1002 053200 The types of the right and left hand side do not match in the EVAL operation. and...

    Nikrajpapa230 pointsBadges:
  • RPGLE: Existing library list

    How to get existing library list for particular job description?

    421380 pointsBadges:
  • File Update

    Hi, I have a customized file which has 1Lakh records. We are using an ERP tool. We created an object in that tool using this customized file. So when we open that object in the view, it will list out all 1 Lakh records. Now I am updating only 10 records. So it will update in my file. At the end of...

    22917515 pointsBadges:
  • Indicators in RPG

    HI, I am a cobol400 developer and new to RPG and curious to know much about RPG... My question here is In what scenarios we use the below indicators 1.Overflow indicator 2.Record Identifying indicator 3.Control level indicator 4.Field level indicator 5.Resulting indicator Thanks in adv Anup

    anuppdas105 pointsBadges:
  • Problem with the READ from PF in RPGLE

    Hi ! Im trying to read a physical file from my RPGLE program. That physical file having many fileds. AGCDE is the one of the filed there. The AGCDE data is from 001 to 700. But i just added it randomly. Now im having a problem with READ in RPGLE.. When i call the program its reading the Physical...

    Sureyz2,475 pointsBadges:
  • Debugging ILE programs

    Are there any documents on Debugging ILE programs(cobol ile or rpg ile) ? Please share the link..Thanks

    anuppdas105 pointsBadges:
  • Performance improvement – RPGLE

    Hi, I have an RPGLE program which reads every record of a masterfile ( 4 million records) and updates some of the field values. There are different procedures to retrieve the values from various files and to update the masterfile. The procedures are written with read, chain logic to retrieve the...

    ZWANZIG40 pointsBadges:
  • In RPGLE CHAIN and %FOUND

    Hi there ! while we using chain with %Found do we need to add else? or else rrn1 chain sfl01 if %found update sfl01 else leave endif is this right ?

    Sureyz2,475 pointsBadges:
  • Trigger program to validate data and notify interactive program of errors before insert or update action

    I have an interactive program that writes (Inventory Management) transactions to a file. I do not have the source for this program. I need to ensure that field content which is not currently validated by the program can be validated and corrected BEFORE the transaction being INSERTed or UPDATEd is...

    AlanMcK5110 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