• How do I find whether a command executed by command line or by a program

    My problem is restricting a command usage in command line but not in programs. I am going to handle it in commands validity checker program.

    Ranjithj0 pointsBadges:
  • View scheduled jobs in a data file

    When using the WRKJOBSCDE command on the AS400, you can see information regarding jobs in the scheduler. Is this information contained in a file which can be accessed for query?

    cmarsellus50 pointsBadges:
  • How to find parameters for validity checker program for OS400 commands or how to cancel the command processing program if you are in command exit program used with QIBM_QCA_RTV_COMMAND and QIBM_QCA_CHG_COMMAND

    My problem is restrict UPDDTA command for specific users - What are the exact parameter variables for validity checker program for UPDDTA command? I gave them as FILE *CHR 10, FILELIB *CHR 10, MBR *CHR 10. It says ?Parameter does not match? - How do I find parameter declaration in validity checker...

    Ranjithj0 pointsBadges:
  • How to use debug on a interactive program with subfiles

    I want to know if you can use debug on a interactive program that uses subfiles to hold the modify data?

    nitzinger385 pointsBadges:
  • Logical File without Keyfield

    If i am using a logical file without key fields in RPG program , it will show any error ?   Jayanta

    2106198125 pointsBadges:
  • Serialization: Mutexes vs. Semaphores

    I am looking for a way to serialize access to a RPG program across multiple jobs. I have been doing some research on mutexes and semaphores and I am wondering what the advantages/disadvantages of each are. Also if there are any other ways to accomplish this. Thanks in advance for your reply

    Joy Stalnecker170 pointsBadges:
  • Why do I have such a problem with passing to a program a 8 byte field using a parm.

    Why do I have such a problem with passing to a program a 8 byte field using a parm. Parm field is define as packed(8,0) but as soon as the program tries to acquired the parm I get a Decimal data error. *ENTRY       ...

    nitzinger385 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:
  • RPG Programming Standards

    I'M LOOKING FOR RPG PROGRAMMING STANDARDS. We have always had standards example if you create a report the report should have the date, title, program name, page numbers.  Does anyone have a stanards document or is there anything on the web?   I appreciate your help!    

    Superbusy15 pointsBadges:
  • Defining a sort variable (ORDER by) in RPG SQL

    I have a file that I would like to sort on a specific column that a user would choose. I sort the file by an imbedded SQL statement: ORDER by PRDNO. Works fine. If I try and make it a variable (ORDER by :Sort_Seq), the statement is ignored. Is there a way to make the ORDER by a variable in RPG SQL?...

    MurrayInfoSys940 pointsBadges:
  • S/36 RPG program using a Data Area

    We enter in vouchers from a variety to locations. All of the voucher entry programs are written in RPG IV and use a Data Area to get the next voucher, update the data area using lock in/out. This all works very well. We have an older S/36 program that populates Employee Expenses into the voucher...

    Superbusy15 pointsBadges:
  • RPG/400 Error RNQ1255

    I have a RPGILE (XOP560) program. I am able to compile sucessfully this program. once i call this program i am getting below error. please advice me. Additional Message Information Message ID . . . . . . : RNQ1255 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . :...

    Askt265 pointsBadges:
  • AS400: copybook or module? …or…other?

    I'm on V6R1, using WDSCi 7 to program in RPG IV.  I've accumulated a number of functions that I use in quite a few of my programs, and I was thinking it might be a good idea to go ahead and place them as subroutines (may be wrong terminology) in a copybook.  But, having done some research, there...

    Koohiisan5,020 pointsBadges:
  • File open RPG

    Is there a way in an rpg program to open a file using a character field for the filename? for example: if my file name is TESTFILE I can use the line: (in rpg free)   OPEN TESTFILE; but is there a way to have character field in place of the filename:   D filename          ...

    Srikant5 pointsBadges:
  • DB2

    i have display file which inputs a varibale say Var1.... This is updated in a PF. My problem is program is not updating this varibale in this file. it updates all other varibales...i checked the library list and evrythng is in place... in PF, the field name is Var1. i use the same name for DSPF -...

    Nutangujar895 pointsBadges:
  • Stored procedure

    how to capture the messages sent by Stored procedure.. the one which i'm using is programmed to returned '0001110' if certaine condition do not match...how will i capture this or where i'll see these messages... Thanks, NG

    Nutangujar895 pointsBadges:
  • Flat file

    How to copy records from a file to flat file in RPG III

    Gill0075 pointsBadges:
  • Number of lines of code in a program

    hi, I've 50 programs to find the number of lines of code in it... is there any smart way? Thanks, N.

    Nutangujar895 pointsBadges:
  • RPG Logic Cycle ?

    HI,     How to know that a RPG program using RPG Logic Cycle or Not?     Jayanta

    2106198125 pointsBadges:
  • Scrolling Message in RPGLE

    Does anyone know how to create a scolling message on the bottom of a display screen? I am programming on the AS400 in RPGLE

    GHENDER190 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