• Comments missing after copying

    Hi all, We have a common source physical file QRPGLESRC in lib Qbbb  for our Project. In this, almost all RPG Members are having comments for understanding the program. Well, when I have a copy to my own Source file Qxxx in another Library Qyyy to change the program according to new requirement,...

    Sai4AS4001,420 pointsBadges:
  • How to control order of jobs run in batch

    In this user's CL program, he has 3 jobs and he wants to submit all jobs in qbatch. The catch is he wants to run the third job after the first and second job have already completed. How can he control this? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • Compiler options

    I need an example of compiling an RPG PROGRAM specifying PGMINFO(*pcml) and INFOSTMF

    COOPERL10 pointsBadges:
  • Convert C Prototypes to RPG

    I need to interface our payroll progam to Vertex Q Series payroll tax software. Vertex is written in C and our payroll programs are in RPGLE. Does anyone know what the RPG prototype to this function would be? PREFIX tVprtConn POSTFIX VprtOpenPRT (char *pDataSource, char *pServerName, char *pUserID,...

    moolar20 pointsBadges:
  • Date calculation using a variable

    This is the original standard date calculation I was using. I need to change the number of months to a variable that I'm getting from a DTAARA. Value is zoned. The error I get isDate, Time or Timestamp value is not valid. I can't find a way to change the one or two digit value to a 'date' field...

    badspeller30 pointsBadges:
  • Difference between RPG & RPGILE

    What is the difference between RPG & RPGILE?

    Ambrish 82310 pointsBadges:
  • Move all fields in a record format at once.

    How can I move all the fields of a single record format at once? I need to move fields totalling 712 positions to a single flat-file record that is also 712 positions long. I really don't want to move one-field-at-a-time into a data structure if I can help it.

    Mahler215 pointsBadges:
  • Receiving an XML file to RPG

    Hi, I need to receive XML files (of fixed format) to my RPGLE program (not free format RPG) and do some calculations. Can I do this without purchasing any tools (free tools can be used)? Please let me know if anyone has done something similar. Regards, Kiron

    Kiron5 pointsBadges:
  • SFLRCDNBR

    I want to know the use of SFLRCDNBR Keyword used in Subfile . I also want any sample Code of how it is handled in the RPGLE Program?

    C.naveen09140 pointsBadges:
  • Moving a numeric field in ILE RPG

    I want to move a numeric field (15,2) to a character field of length 15. I want the character field output with decimal points... For example ...>Input-----> A=123 , B is a character If I move numeric A to character B, character OUTPUT B should be 0000000000123.00

    Fun10 pointsBadges:
  • RPG program: XML command error

    I received an XML-document via mail, I detached it and placed it into the IFS. Then I wrote an RPG-program where I used the XML-INTO command to read the XML-document. But, when I run my program I always get the error "The XML parser detected error code 302" I think there's something wrong with the...

    Guygeb45 pointsBadges:
  • Access particular members in RPG

    Suppose I have a PF with 3 members. Is it possible to do READ/WRITE operation on particular 2 members?

    Amol1235 pointsBadges:
  • How to send a large PC doc from AS/400

    I can successfully copy data from a PF to a PC doc (via CPYTOPCD) and I can successfully e-mail the resultant PC DOC from the AS400 (via SNDDST) However, when I try to e-mail a large PC Doc (2 meg) I receive about 20 e-mails with *.DTF attachments, which are virtually unreadable. Any ideas?

    Riccardi0 pointsBadges:
  • MOVEL WITH TWO DIFFRENT SIZED FIELDS

    Have a two fields f1 and f2 with sizes 30 and 15 respectively, Can i perform MOVEL f1 f2 (i have data in the first 15 positions of f1)..will this pass the data to f2.

    Sai4AS4001,420 pointsBadges:
  • RPG/400 xodstsf

    Below program write a records to xodstsf in two times.... I am not sure what I am missing... can you advise? FWDRPIK CF E WORKSTN FXODSTSF O E DISK FTFL01 UF E K DISK DORDINV S 15A D*ORD S 8A C* *IN03 DOWEQ *OFF C DOW *IN03=*OFF C EXFMT PKSCR C PKLBL CHAIN TFOOD00 C* *IN25 IFEQ *OFF C IF...

    Askt265 pointsBadges:
  • Access a OPNQRYF file using keys

    Is it possible to access a file created by opnqryf in an RPG/400 program using keys? I have defined the KEYFLD parameter but the RPG doesn't find the records when using READE or CHAIN.

    Marg5 pointsBadges:
  • RPG/400 filename length

    I have a physical file name with length of 10. I need to declare the same file in RPG/400 but here accepting only 8 length. Any way to overcome this?

    Askt265 pointsBadges:
  • How to handle reverse image indicator through RPG

    How to handle Reverse Image Indicator through RPG program?

    dwivediviv70 pointsBadges:
  • How to convert RPG source into RPGLE

    I tried the command CVTRPGSRC to convert RPG source into RPGLE but getting run time error that says: "Format name in log file QRNCVTLG library QGPL not the same as format name of model. Conversion terminated."

    Nikrajpapa230 pointsBadges:
  • How to release lock on a record in RPG/400

    What type of opcodes should I use to release the lock on a record?

    Ben Rubenstein5,250 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