• Calling External Procedure from Java Web based Application

    Below given is a procedure to access a CL Program in iSeries from a Java web based program. create procedure libxxx/proc_name LANGUAGE CL FENCED EXTERNAL NAME 'libxxx/clprogram' PARAMETER STYLE GENERAL The external CL program has other calls to Cobol programs in the same library.The procedure is in...

    TOKNOWIT0 pointsBadges:
  • How To Print A Hardware Configuration List?

    Does anyone know of another command to use to print out a hardware configuration list for the AS/400. I have already used the following command: DSPHDWRSC TYPE(*AHW) OUTPUT(*PRINT) Is there anything else that can be used?

    Bkr0963c0 pointsBadges:
  • CPIB687 conflicting announcement for domain

    In Qsysopr we get a CPIB687 message reason code 3. It references a conflict announcement for the domain that it is in along with our AS400. WE know how to disable the master browser settings on windows clients. This is a MAC client and we do not know how to disable it. IBM set we can change our...

    Mpoweleit0 pointsBadges:
  • List of Outfiles

    I've seen a list of the System Supplied Outfiles in one of the manuals. Can anyone direct me to that manual ? Thanks, Bill Poulin

    wpoulin2,480 pointsBadges:
  • Parameter list is not refreshed from previous calls

    I created a command with validity checker defined. The validation work fine but the parameter list is not refreshed from previous calls to the command. I've defined a simple list for "user name " parameter in my command. If I give 3 user names (A, B, & C) in the list, in the next call even if I...

    Rohithsharma8415 pointsBadges:
  • User Id in Pgm DS in case of Scheduled Batch Job.

    Hi All. An user's id can be retrieved inside the pgm from system Data Structure which contains the User Id invoking the pgm. Normally this is passed to a file field before writing/updating the file. If the file is updated by a Batch pgm then the Id of user submitting the job goes to the system DS...

    Dipendra0 pointsBadges:
  • SQL Statement

    Column qualifier or table SLGRREP undefined. update yyyyy/slf1rep set F1_CAP_AT_END = 'C' where (xxxxx/slgrrep.grbss || ' ' || xxxxx/slgrrep.grggr) = in (select yyyyy/slf1rep.f1BSS || ' ' || yyyyy/slf1rep.F1GGR from xxxxx/slgrrep, yyyyy/slf1rep, xxxxx/slsyrep where SLF1REP.F1_END_DATE >...

    Bandit100 pointsBadges:
  • Triggers

    Does the AS/400 have a cross-reference file or files that give the same kind of information about triggers as QADBFDEP and QADBFCST do for dependent files and constraints? If so, what is/are they called? Thanks

    Xixones0 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:
  • Telnet on iSeries

    Is it possible to have multiple telnet ports listening at the same time for telnet connections on the iSeries? (i.e., the normal port 23, plus one or two additional ports to split traffic, etc.). If so, do you have to configure / start multiple telnet servers on the iSeries (one for each specified...

    Reltermann0 pointsBadges:
  • Delect members by age using CL

    I download a bank file once a day. I want to keep the last two weeks of files stored in members of file ARCHIVE. Typical member names might be 20041109, etc. How can I purge the members that are more than 15 days old using CL? Is there a way to convert a *CHAR variable into a *DEC variable? Is...

    DavidG19630 pointsBadges:
  • ILE O spec to print file

    I am looking for a program to convert ILE O spec to a print file.

    Funny5 pointsBadges:
  • Job Log

    I am attempting to have the Job Log for a specific CLP end up in a specific output queue that is different from where we want the rest of the Job Logs to go. I have attempted to use OVRPRTF, CHGJOB and even set up a unique JOBD to no avail. Does someone have an idea as to what will work for a...

    wpoulin2,480 pointsBadges:
  • Using Query/400 to create SQL-style GROUP BY

    Greetings and salutations, I'm trying to put together a query for one of my users to track sales numbers and it is starting to give me a headache. I've put together a query using Query/400 with a break at each invoice to sum the dollar amount for each one. The issue is that on many of our invoices,...

    Kyoojin0 pointsBadges:
  • Retrieve error message in RPG

    I have an interactive RPGLE program ,PGMA, that calls another RPG program, RPG3P, based on a parameter and that job is not interactive. If RPG3P aborts how can I find out what the error mesage was? The job log does not give enough information to help find the problem.

    Old2new25 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:
  • Copy File from PC file to Iseries- Change record length.

    I am trying to copy a PC text file and copy it in a wrapping format to an ISeries DB File with a single 128 length field. I am trying CPYFRMIMPF, CPYFRMPCD, CPYFRMSTRMF and they all seem to cut off part of the record. Can this be done short of counting characters in a record?

    Brenry5 pointsBadges:
  • How Can I pass multiple USER ID’s to QEZSNDMG

    Does anyone have an example of passing multple user id's to the API QEZSNDMG?  I have a CL that calls QEZSNDMG and it works fine with one user or *ALLACT.  I need to supply a list of multiple users that I can pass to it.  Anyone have an example of that?

    GaryT50 pointsBadges:
  • FOLDER DUPLICATION

    SAP adds many TXT files to a folder in IFS, I need to replicate or duplicate this TXT files in a Windows Server folder automatically or share the iSeries folder with the Windows Server users. How can I do this? Thanks

    gallo5 pointsBadges:
  • Database member Cross reference in Qsys? – Where’s it hidden?

    A number of useful objects are in Qsys these days. Items like QADBIFLD are very useful when you want a system wide search for a field. I've been looking for the equivalent for file members. Specifically, I want to search for all occurrences of a given file member name across the system's many...

    Yorkshireman5,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