• Question on OVRDBF command

    Suppose, in my CL program, I am using the following command: OVRDBF file(file1) tofile(file2) The question is: In my RPG program, which file will be read in C specs..will it be Read file1 or Read file2?? Thanks.

    A1b2c3330 pointsBadges:
  • Adopted Authority

    I am extemely new to RPG so I am looking for a simple code that uses adopted authority of SECOFR to an operator temporarily simply to enable users. I know that it can be done, but I would like to know the structure of it from and RPG standpoint. Thanks in advance.

    Rrnmla0 pointsBadges:
  • Multiple message subfiles – one in a window

    My error message is not displaying in the window's message subfile. Both the main screen and the window have a message subfile defined. The RPG program defines the pgmq = '*'. Here's the dds R MSGSFL1 SFL SFLMSGRCD(24) @KEY1 SFLMSGKEY @PGMQ1 SFLPGMQ R MSGCTL1 SFLCTL(MSGSFL1) SFLDSP SFLDSPCTL SFLINZ...

    TabbyCat0 pointsBadges:
  • HOW DO YOU DISPLAY A CONTROL RECORD, A SUBFILE, AND A WINDOW AT THE SAME TIME WITHOUT THE USER HAVING TO PRESS ENTER TWICE?

    WHEN A USER CHOOSES AN OPTION ON ONE SCREEN AND PRESSES ENTER, ANOTHER SCREEN WITH A CONTROL RECORD AND SUBFILE IS DISPLAYED. AS IT STANDS NOW, THE USER HAS TO PRESS ENTER AGAIN BEFORE A WINDOW IS DISPLAYED STATING, "ARE YOU SURE YOU WANT TO DELETE THIS RECORD?" IS IT POSSIBLE TO CODE A HARD RETURN...

    Volunteer0 pointsBadges:
  • Convert Spooled file to Hexadecimal Values

    Is their a way that a spooled file be converted to hexadecimal values?

    Makoy050 pointsBadges:
  • Checking if a job, which has a record lock, is doing anything before ending it

    We have some RPG code which will end a job if it has a record lock, but I would like to be sure that the job is not 'active' (not doing anything) before doing so. Is this sort of detail available via an API call ? Any examples would be gratefully received.

    REDHED0 pointsBadges:
  • Cross reference tool

    Hello, I'm currently working in an AS400 native RPG-environment, not ILE, and I want to create a cross reference for a part of the system(about 10 libraries). I'd like to create this by myself with the common commands on our system, I can do this thru DSPPGMREF and DSPBDR, DSPFD, DSPFFD, etc... But...

    Zappaz5 pointsBadges:
  • CPYFRMIMPF Command Submitting multiple jobs.

    Submitting multiple jobs to do a copy to an AS400 standardized file. This is a great command. I have two systems that I use it on. It works well on one system, however, on the other one it likes to submit multiple jobs to copy blocks of 60,700 records,(reminds me of the old FTP process on the early...

    Sluggo230 pointsBadges:
  • ILE Best method of Parameter handling using Procedures

    Using prototypes and Procedure interfaces I understand that no parameter may be returned if a procedure is called directly via CALLP. And only one parameter may be returned if procedure is called via EVAL with return. What is the best way to return multiple parameters from a procedure (assuming I...

    Barryo35 pointsBadges:
  • Encrypting fields in the AS/400

    Greetings, We are required to encrypt credit card fields in the AS/400 files. I am looking for something convenient to encrypt/decrypt field while in the RPG ILE program. Do we need to buy a software? Does As/400 has its own APIs? Please advise. Thanks Gary Liberman

    GaryL5 pointsBadges:
  • Finding a program statement number in the Program Status Data Structure.

    According to the ILE RPG Reference manual, positions 21 - 28 of the SDS should contain the statement or listing number at the time of the dump. Whenever I deliberately invoke the dump (via *PSSR) this value is zero. I have checked it in debug mode before and after the actual DUMP and the value is...

    mygoodname0 pointsBadges:
  • Calling an API from a RPGIII/IV program, the system is a IBM I5 Iseries.

    How do you set-up a data structure for the error code fields used to call and API-QSYGETPH.

    lovelight0 pointsBadges:
  • 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:

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