• 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:
  • Replace leading blanks with zeros in RPG

    I have a 3A field on my display file, when user enters ' 50' I want to chain the file with '050' since record in stored in file like that. How can I replace the leading blanks with zeros in this case?

    RamvishakRamesh2,505 pointsBadges:
  • Record updation through RPG

    While I'm updating a particular field of a record through RPG is it gonna update the entire record (remaining fields with their previous values) or only the field which we want to update? If yes, why? No, why?

    vamsy7775 pointsBadges:
  • Compiler Type for RPG and RPGLE

    Hi all, Does RPG and RPGLE are compiled by same compiler or there are two different compiler? Does the compiler depends on version like V5R1 and V6R1? Thanks

    hunshabbir71,070 pointsBadges:
  • Compilation Time in RPG and RPGLE

    Hi all, Does same code written in RPG and RPGLE take same compilation time? Thanks

    hunshabbir71,070 pointsBadges:
  • RPG/400 How to Pass Hexa values

    i want to pass hexadecimal values from calling progrm to called program through PARM parameters can any one suggest me how to pass including OCTADECIMAl Values

    Mohan K695 pointsBadges:
  • LEAVESR opcode for RPG

    Is there anyway to perform LEAVESR operation in OLD RPG code. Unfortunately I have to amend some old written code. I am searching for related operation as LEAVESR. I have used GOTO (with tag). Is it ok?

    hunshabbir71,070 pointsBadges:
  • How to search a record in sequential order in V5R1 with two input parameters

    I am new to AS/400 and RPG. I want to search a record not on a single key field but with multiply search arguments. how can I do this. One thing in my mind is to create a DataStructure and in Read or Chain operation populate that DS and match field values, but in my version I didn't find LIKEREC...

    hunshabbir71,070 pointsBadges:
  • CL program calling a RPG36 program

    Can a CL program call a RPG36 program? I'll just try it if no quick answer, but maybe you know this one.

    aceofdelts1,870 pointsBadges:
  • AS/400 Data Queues

    Hi all I am new to RPG and AS/400. I want to know, Does data queues are maintained session wise? if yes then if we have allocated memory of e.g. 2GB, then each session will reserve 2GB? if no then (it is like common shared data) how can we manage data queue. If one user wants to clear data queue...

    hunshabbir71,070 pointsBadges:
  • AS/400 error message: GET NOWAIT pending.

    Does anyone have any idea as to how to fix this error message: Message ID . . . . . . : CPF5023 Severity . . . . . . . : 30 Message type . . . . . : Notify Date sent . . . . . . : 03/03/03 Time sent . . . . . . : 14:41:39 Message . . . . : GET NOWAIT pending. Cause . . . . . : Specified record...

    GHENDER190 pointsBadges:
  • Clear leading zeros

    I have a 10A character field which hold a numeric value. Problem is that it contains leading zeros. How can I remove them? Many thanks.  

    NeilD450 pointsBadges:
  • Is the a way to get the source file and library of a RPGLE program?

    For RPG program, the DSPOBJD shows what library and source that the object was created from but it's blank if the program is written in RPGLE. Is there a way to get it for RPGLE?

    KimDinh30 pointsBadges:
  • Handlers in RPG

    Do we have some sample tutorials which helps to understand the "Handler" to explore ROA?

    RamvishakRamesh2,505 pointsBadges:
  • Getting I/O error CPF5004

    Hi, I am trying to write 10000 records from pf to printer file but after writing 200 or 300 records into the printer file, I'm getting the I/O error CPF5004. I know I'm getting this error because the page overflow indicator is not set it. But I'm doing programming in RPGLE. I don't know how to...

    Mohan K695 pointsBadges:
  • Incorporating physical file change in dependent program

    Hi, is it possible to incorporate physical file changes (using the new level check identifier) without recompiling the rpg? (Say we have the physical file to be changed, but we do not have the source for the rpg, only the object)

    Siri55 pointsBadges:
  • Is there a free RPG Editor for Windows 7?

    I work for a small company that can't really afford to implement WDSC 7.0.We have the free 6.1 version. But, it doesn't work on Windows 7. Any free alternatives?

    thedaveeffect10 pointsBadges:
  • Need to find everyplace a file is being used.

    I have a file that we are adding a field. Need to find every program the file is being used to know which ones need to be recompiler. Would be nice to do one big search of the entire library. 

    nitzinger385 pointsBadges:
  • Designing Long Displays in AS/400

    Hi all, I have to design a screen which have almost 50 fields and I have to keep them on a single screen (page) how I can design a long display so by doing Page Down and Page Up we could scroll through all fields. Thanks in advance

    hunshabbir71,070 pointsBadges:
  • RPG Status Error 00222: A character representation of a numeric value is in error

    We have an application that frequently ab-ends because of RPG status error 00222 that states (in part) "...a character representation of a numeric value is in error...". We have scoured program listings and dumps trying to find the field(s) causing the error, but cannot find the smoking gun. Does...

    sleeplessinseattle5 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