• Configuration setup for Phy CPU

    Hi, We have 2 different systems and configuration for cpu is done as below: System 1 with single threaded movex rpg Assigned Physical Cpu -2 VCpu -2 Uncapped System 2 with multi threaded Movex java: Assigned physical Cpu -1 VCpu -1 Uncapped Looking at above figures system should run with 100%...

    deepakt1135 pointsBadges:
  • What does *IN70 IFEQ ‘9’ mean?

    Hi all, What does this statement means? Indicator 70 is resultant indicator of CHAIN operation and after chain statement this indicator is compared with value '9'. Can an indicator hold this value? Regards,

    hunshabbir72,805 pointsBadges:
  • Reading a file twice in CL

    I declared a file in CL. I read all the records, i.e End Of File has reached. Now again i want to read he file from beginning within the same program.I tried with OVRDBF and POSDBF.But could not succeed.Can any body help me?

    Kumari0 pointsBadges:
  • Transfer data from iSeries RPG to Excel

    How can I transfer data from iSeries RPG to Microsoft Excel?

    Rmw10 pointsBadges:
  • How to validate data in RPG

    How to validate data (if it is numeric or character or both) in RPG? I have customer file(cus1) and field length of CID is 05. I want to display numeric data only. I don't know how to use indicators, please correct the below code. .............. CID  .  CNAME .............. 1201    chow...

    chowas400620 pointsBadges:
  • Calling RPG Proc from COBOL ILE

    This article was very helpful. I have coded and compiled my CBLLE program. Now when I call it, I am getting error RNX0115 'Length of varying length variable is out of range.' Here is my COBOL call statement: CALL PROCEDURE "ENT002_RMVBADCHAR" USING BY VALUE C86D1, GIVING RETURN_VALUE. This is the...

    CLMccarthy5 pointsBadges:
  • Subfile processing – Incorrect record number in subfile SFLRCDNBR or SFLSIZ field.

    I am getting the above error - This the dds specs: A A R SUBDTB SFL A SUBPART 35A B 6 18 A R SUBCTLB SFLCTL(SUBDTB) A*%%TS SD 20031114 134548 KAUSC REL-V5R2M0 5722-WDS A SFLSIZ(0020) A SFLPAG(0010) A ROLLUP A ROLLDOWN A 60 SFLDSPCTL A N61 OVERLAY A 61 SFLCLR A 62 SFLDSP A 70 SFLEND(*MORE) A LSTRRNB...

    Manyquestions65 pointsBadges:
  • how to add a number of blank-spaces in free-format RPG

    My requirement is: I need to concatenate different fields having different values into the flat-string(blank initially), separated by a number of blanks(spaces), which may vary from field to field. for e.g. MyStr = 'FIRST_NAME LAST_NAME 20060101 STREET1 CITY11 STATE111 ... ' and so on where MyStr =...

    svankipu620 pointsBadges:
  • Read numeric duplicate key values in RPG program

    How do I read numeric duplicate key values in an RPG program?

    22736435 pointsBadges:
  • Default value of a Indicator data type

    Hi, can you please temme, what is the default value of a Indicator data type (N) which is declared with 'INZ'?

    Srinis30 pointsBadges:
  • What does the ‘X’ represent in this string in AS/400 RPG?

    What does the lower case x represent in this screen? eval pos = %SCAN(x'41' : SHIPID)

    UARTJ120 pointsBadges:
  • Can I use the UPDDTA command in a RPG program?

    Can I use the UPDDTA command in a RPG program in which contains a file?

    venki125965 pointsBadges:
  • Splitting and merging large RPG source files

    What are the commands to split an RPG program so more lines can be added? Also, how to merge the 2 sources together again? My current source has 32,000 lines.

    etibbitts110 pointsBadges:
  • Monitoring Batch Jobs using CL/RPG

    Can I create a CL/RPG to collect job information and create a percentage completion utility

    Startrek6105 pointsBadges:
  • AS/400 – Operator and Operand split

    Hi, Assume if I have a expression like (A < Fieldb) and (C >= FieldD) Then I need to split into 2 arrays or write into a table like: Seq, Operator , Operand1 Operand2. 1 > A Fieldb 2 >= C FieldD 3 and 1 2 If not possible in RPG, is there any other language which can used in AS/400?...

    as400dev585 pointsBadges:
  • Decimal data error for blanks in zoned values

    I have a Zoned decimal field where blanks are accumulated and hence job is throwing decimal data error. Can you please tell me decimal data error occurs because of the blanks in zoned decimal field?

    vishwaraj60 pointsBadges:
  • Best way to pass large array between ILE COBOL modules and Plex2E program

    According to what I've read, the maximum number of characters that can be passed in a data variable is 32767. Changing from COBOL to RPG is out of the question. Need to find a way to handle a larger set of data to be passed between ILE COBOL modules, ILE COBOL programs and Plex2E environment where...

    Worktoplay35 pointsBadges:
  • Move (or Eval) between record formats

    Isn't it possible to move a database file record format to a different format in one statement? I have tried move, movel, and eval, and still get errors. It seems it should be possible. Thanks!

    LFiato200 pointsBadges:
  • Data structure array in RPG

    I have a physical file has 10 column like filed01, filed02, field03......field10 Now I want to define a data structure with 10 subfield of char 5 and use in cursor. For example: select * from t1 fetch from t1 into :DS1 Now I want a array of 10 element automatically get the value from my DS1. Thanks...

    97834441841,420 pointsBadges:
  • Date subtraction in embedded SQL

    I am trying to get all records with an order date in the past 30 days, but the database field is YYYYMMDD. I know how to do this in RPG, but I really want to do it in embedded SQL. Thanks!

    JeffWilson91320 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