• Problems in a self refreshing subfile

    I created a self refreshing subfile in rpg using data queue. Consider the scenario where i am typing a text on the screen and at that time some data arrives at the data queue. The control will come back to the program and process the record. All the text i have typed will be gone. Is there any ways...

    Anoop080 pointsBadges:
  • Year in Date or Timestamp value is not in the correct range (C G D F).

    Hi All, I am getting the above error when trying to write the control format of a subfile. The DDS is coded as follows: A O_ESD L O 9 70DATFMT(*MDY) A MAPVAL(('01/01/40' *BLANK)) Not too sure what the MAPVAL will do as I dont think it can ever be blank. Basically in the compile listing of the RPGLE...

    RaydenR0 pointsBadges:
  • The Right DDS Combination

    Hi All, I have been spinning my wheels and was hoping for help. I have a subfile where an option calls another RPG program that displays a window for data capture. When the user takes the same option against multiple records in the subfile the window appears the first time overlaying the subfile...

    RaydenR0 pointsBadges:
  • AS400 Console

    What effects are caused if you vary off your console session on the AS400 and you do not have any other consoles to take over? I want to move my console to another location in my DataCenter, but I have to disconnect it from the AS400 and reconnect it. Will varying the device off to disconnect it...

    Bkr0963c0 pointsBadges:
  • HOUSE KEEPING STREAM FILES

    I would like to write a utility which housekeeps stream files in the ifs based upon how many days ago the file was CREATED. Does any body know an API for this (an API which is easy enough to work with 'RPG' and/or 'CL' and NOT 'C') The DSPLNK CL command doesn't provide the creation date it would...

    chrisk0 pointsBadges:
  • RPG Debug

    Hi I am tring to debug the RPG program with STRISDB but when i press F5 for stepbystep execution it doesnot advance correctly it goes over commented line also & if sometime while tring to add brkpoint by F6 it gives message like "Statement identifier not found in program".I have compiled the...

    Himani0 pointsBadges:
  • How do I send a spool file as an attachement using the SNDDST command?

    Does anyone know how i can send a spool file as an attachment using the SNDDST command?

    Slaliberte5 pointsBadges:
  • Sending pcn files to the iseries

    I have excel files on our server that I pass to the iseries as physical files. I do this through Client access ustn the data transfer to ISeries utility. I provide the PC location and file name, the system I wnat to go to and the library and file in the Iseries I want to wind up in. Does anyone...

    Johnd0155 pointsBadges:
  • Cursor Progression on protected fields

    I want to use FLDCSRPRG to control the cursor movement on fields I have protected. The fields are protected because I need the user to prompt a lookup window and enter only correct selections from a specific table in these filds. However, If I protect the field with DSPATR(PR), the FLDCSRPRG does...

    Tommie0 pointsBadges:
  • RPG programmer wants to move to Web dev

    Mayank wrote in with this question recently: "I'm a core iSeries RPG programmer. I?d like to move to Web development. Where should I start?" -- Debra Tart, associate editor

    DebraTart0 pointsBadges:
  • A copy tool??

    Hello to all, I am a COBOL programmer working for a life assurance company which uses a life assurance package developed on the iSeries. I have been tasked with looking into whether it is possible for us to copy a 'contract/policy' from our live environment to a development/test environment. This...

    ITnavan0 pointsBadges:
  • sending message and variable to message queue using RPGIII

    Is there a way using RPGIII that I can send a message with a variable to a message queue?

    AS400Consultant0 pointsBadges:
  • Insert record in subfile

    How to code insertion on a new receord between 2 existing recods in a subfile ? I want to code something like a expand tree : I READC my subfile and when option code value is ... I want to add some records between current & next subfile record

    JPLamontre0 pointsBadges:
  • Mail Merge on AS/400 – Replacment for Text Mgmt or AS/400 Office

    We have an old system that uses a third-party replacement product for text management or AS/400 office to produce customer letters. We have all kinds of different letters stored and maintained as documents in folders and RPG programs that produce extract files and use supplied commands in our CL's...

    Msbceres0 pointsBadges:
  • how to get the location of the User Options (updated usinf PF18 from PDM)

    How can I access the Defaults information from Rexx / CL ? PF18 from PDM. I am looking for the values of Option file/lib/member. thanks Change Defaults Type choices, press Enter. Object library . . . . . . . *SRCLIB Name, *CURLIB, *SRCLIB Replace object . . . . . . . N Y=Yes, N=No Compile in batch...

    GonenSho0 pointsBadges:
  • ANNOUNCEMENT ? MORE NEW CATEGORIES ADDED TO THE ISERIES CATEGORY

    UPDATE YOUR AREAS OF EXPERIENCE The following categories have been added to the AS400 ? iSeries section. Application development Systems management PC/Windows connectivity groupware & e-mail Career Opportunities for iSeries These categories were added last week: Backup & recovery Security Printing...

    DebraTart0 pointsBadges:
  • SQL taking the lead?

    Lately there has been a lot of talk about the number of people seeking an SQL education. Are you an RPG guru that?s interested in learning a little more about SQL? Let us know. -- Debra Tart, associate editor, Search400.com

    DebraTart0 pointsBadges:
  • Anyone ever use the SNDRPY command in CL?

    I am using the CHGPF command to change a file. I know it will result in data loss, and I will get a messaage that I must reply "I" to ignore and then it will change the file. The file is used all day long and I would like to have a CL program change it after hours. I found the SNDRPY command that...

    Dalejanus0 pointsBadges:
  • SET verb in COBOL

    Hi The SET verb in COBOL set the value of a particular variable to a specified value. Now say I decalred a variable as 05 WS-SWITCH PIC X(01). 88 VALID-VALUES VALUE 'A', 'B', 'C'. 88 NOT-VALID-VALUES VALUE 'D', 'E', 'F'. If I want to set the value of WS-SWITCH as 'A', we can do as SET VALID-VALUES...

    Pgsdeb20 pointsBadges:
  • write in a PF file

    Hi everyone! I have an RPGLE program that creates four physical files (using the QCMDEXC program). These physical files have no DDS. In the same program, I read another physical file (that's a copy of a spool file). If the line (s) read met some specified criteria, it needs to be written to one of...

    MelissaG20 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