1
  • 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:
  • Switch multiple indicatos On/Off using RPG IV

    I have to switch on/off multiple indicators . I have a code like this DdSTestind Ds Qualified Based(Indptr) D dVInd01 N D dVInd02 N D dVInd03 N D dVInd04 N D dVInd05 N D dVInd06 N D dVInd07 N D dVInd08 N D dVInd09 N D dVInd10 N DdSTestin Ds Qualified D dVInd01 N D dVInd03 N D dVInd05 N D dVInd07 N...

    Sasikumarr195 pointsBadges:
  • AS/400 unit testing documentation

    Hi, I'm doing one application with coding of RPG and CL. I'm new in this tech. I want to clarify one thing. Please can anybody tell me? When can I start unit testing and when can I end the unit testing? Please give me an example? What is meant by documentation? How can I write the documentation?

    Repaire45 pointsBadges:
  • SNDDST command in CL program

    Hi , I am using SNDDST command in CL program through SNDDST am attaching the .CSV file. When I'm putting the subject line in that command, it is taking the name of that .CSV file as a subject line. Please refer the below command. SNDDST     TYPE(*DOC) TOINTNET((&PDES35)) DSTD ('PO   ...

    codequery135 pointsBadges:
  • More than 50 files in RPG?

    How can i declare more than 50 files in RPG/400 program?

    csuoaananth75 pointsBadges:
  • How to display total of all the records that contain the same primary key in RPG4?

    How to display total of all the records that contain the same primary key in RPG4? e.g...                                                             Transaction number :4458 product no:      name        QTYonHand      quantity on order              ...

    Keo55 pointsBadges:
  • How to create Report on WRKOBJ’s output using a pf?

    Hi gotta develop a pf which will show all the objects under all user's library. Please suggest

    Archnav01270 pointsBadges:
  • V4R4 upgrade to V6R1

    Our current V4R4 box contains our data files and in-house written rpg, cl, service pgms, binded directories, etc. We have all our source code. We have no 3rd party software, all is in-house code. We are about to buy a used V6R1 box. I know there is some sort of costly 3 step migration for...

    Svocal200940 pointsBadges:
  • Indicator Off with RPG

    How can we put all indicator off in single statement or in rpg code (It might be RPGIII Or IV)

    Pankaj112265 pointsBadges:
  • RPGIV Coding Approach for 1 billion records

    I have 1billion records in a PF.Key filed  is Date.I want to generate a report based on Key field.Which approach will be best for me (I mean shall i go with OVRDBF or any other approach)Please suggest.(RPGIV-Free Format-V5R4)

    Pankaj112265 pointsBadges:
  • error in following rpg code?

    Dear all, I am having problem while compiling follwing rpg code for calculation of square and cube of 2digit number.my display file compiles well but there is an error exfmt operation entry not valid.(error qrg 5199). RPG CODE is:  Columns . . . :    1  71           ...

    6r1,520 pointsBadges:
  • Free format subdur minutes from a time

    I am trying to search for the correct syntax for subtracting a minute from a time. I have a 6 numeric time field in HHMMSS format.  I am trying to use free format to subtract a minute.  Having trouble. Using: @atime=%dec((%time(@atime:*hms)- 1 *min)...

    VictoriaS15 pointsBadges:
  • Sign out RPG users after certain amount of time

    RPG Screen Timeouts. We need to sign-off our users automatically after a certain period of time.  I was wondering if anyone has the code to do this? Since we are using JDE world, it would be nice to have RPG III, but can also call an ILE program. Lenny

    AS400Lenny50 pointsBadges:
  • Calling runtime errors in AS/400

    Program A calls program B with invoice# ( 10S 0) as a parameter. Program B receives Invoice# as a incoming parameter ( Invoice# is a file field). But when program b is called i get a runtime error " PGMB 400 decimal-data error in field (C G S D F)" Help me to fix this error. Code goes as follows:...

    22917510 pointsBadges:
  • Writing one line of code in RPG: greater than ‘A’ and less than ‘Z’

    How can I write one line of code in RPG Free something like if x >= 'A' and x <= 'Z' instead of x = 'A' or x = 'B', etc.

    SKF75 pointsBadges:
  • Build a AS/400 calendar file

    I need to build a calendar file with date '010110' and day of week 'SU' in rpg/400.  The client does not use the ILE envionment.  Can anyone provide the RPG code to create this file?  Thanks

    Fedli0015 pointsBadges:
  • Trimming leading zeros in as/400

    Hi, I have a character input parameter of length 8. I have a customer number which may vary according to a query that user enters. This customer number is searched in an input file where the key field is numeric. I want to change this input parameter to numeric without any trailing zeros/blanks....

    Sangay635 pointsBadges:
  • How to use edtcde &edtwrd in o spec?

    Dear all, Actually I want to learn the use of edtcde and edtwrd keywords in O spec. how can i use these keywords suppose if  i have a field sellprice which consists 7 length with 2 decimal position i want to put $ sign for the values of this field in fixed and floating format how can i code it in...

    6r1,520 pointsBadges:
1

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