AS/400 Tag Directory

Featured AS/400 Questions

  • How to see output for an AS/400 stored procedure

    I have created a CL which calls an RPG program. Now I have to create a stored procedure which calls the CL! As RPG normally sends back the output to CL! How should I send back the output to SP? Will SP normally pick it or is there any command to send back the output to stored procedure (SP). I have...

    bharathtata25 pointsBadges:
  • AS/400 BPCS: How to get SKEEP code descriptions

    I am trying to find a report that extracts all Skeep codes with their respective descriptions in a report. Skeep codes are also known as "IREF05". Does anyone know how to extract this information from BPCS? Thanks!

    kchafe5 pointsBadges:
  • How a work file created during runtime can be read in SQLRPGLE program to check the record count

    Workfile created using clle with no keys during run time in qtemp. Read a permanent file with its first key, using setll *loval and read in Dow loop. Check if the first key value is found in work file present in qtemp. The corresponding field in workfile is it's 4th field. How to check this or what...

    NicyChn135 pointsBadges:
  • Input or Output request failed: How to detect error through batch job?

    Below error is displayed in joblog of Interactive job. Session stopped by a request from device QPADEV006W. Input or Output request failed. See message CPF5140. The job continues to run. Is there anyway to detect this error through a batch job. Once this error occurs we have to manually kill the...

    JohnsonMumbai1,365 pointsBadges:
  • Looking for AS/400 security journal entries related to certain commands

    Hi guys! I'm looking for journal entry type (JOENTT in type 5 journal entries) codes that are generated by the STRSBS, ENDSBS, all journal receivers commands such as CRTJRNRCV & DLTJRNRCV. The best for me would be to find a reference either on the Internet or in an IBM reference book to...

    dgaucher10 pointsBadges:
  • Switch to program which submits batch job, when job is processing

    A program X calls a batch job Y in between. When the batch job Y is executing, I need to see the value of some variable in the main program X. How can I switch from the batch job Y to the main program X, see the value of the variable I want, and then continue with the batch job Y processing?

    manju05310 pointsBadges:
  • Batch jobs in mainframes

    I'm working in a financial company. I can see most of batch jobs are still running in Mainframes. What are the best technologies that you would suggest to migrate the batch jobs which is as accurate and fast like mainframe? Any technology that will sort the file faster than mainframes?

    VijayJessy5 pointsBadges:
  • Comma use in BPCS

    Can comma's be used in BPCS and not have problems. Example:  INSULATION, TUBE 3/8x3/8 SPLIT

    Arlene5 pointsBadges:
  • How to delete physical file member?

    I tried to delete physical file member in AS/400 by using CLRPFM command...but nothing get deleted...why?

    ganeshpavi75 pointsBadges:
  • Send email w/attachment via batch file

    I would like to be able to set up a scheduled task to call up batch file that would send out an email at a given time of day including an attachment. The question is if anyone would know of a simple way to accomplish this task and what I may need to make it work?

    ConFlicker210 pointsBadges:
  • FTP of a file has stopped working. File not growing like it should

    We have a file that we FTP on a monthly basis to our I5. It is a positionally formatted file. In the past, we have had no problem with this, but late last year it stopped working. When we try to FTP the full file it gives us an FTP error of 426. The interesting thing is if I split the file in half...

    jokerb1925 pointsBadges:
  • How to work with BPCS

    How can I do a project on BPCS?

    hyndavi5 pointsBadges:
  • Mainframe quality assurance testing tools

    I need to find a quick and cheap mainframe testing tool for an insurance application. The client will not spend the dollars till the concept is proven. I have looked for open source for the mainframe and found nothing. The client is running a batch system processing input are batch claims. Any help...

    Frankd0 pointsBadges:
  • AS/400 RPGLE

    When I'm converting the date to another formats, I get below runtime error, please advise. Error: The target for a numeric operation is too small to hold the result.. Program: 0001.00 DA                S              8  0 0001.01 DB                S              6  0...

    chowas400620 pointsBadges:
  • Please limit to one final batch

    I am trying to select a batch in ZQ17H, and I get the error message: Please limit to one final batch. How can I fix this issue? The message number is ZCS028

    bronkeje5 pointsBadges:
  • Debug batch job

    Hi all, how do I debug batch job? Please give me in details. Thanks.

    chakramdhar65 pointsBadges:
  • How to write flat file data into pf?

    Hi,,  M25 is one of my flat file which is 34 char length. I want to write data from flat file to normal pf. Pf contains 3 char field which is equally devide. Now generaly to read file we have to requre key field but flat file doesn't have any key field then how i will write this pf?     

    Sms121185 pointsBadges:
  • Socket() “too many files open” error – but no files are open

    I am writing an RPG Sockets program and when I call the "C" socket() function, I am receiving an "EMFILE 3452 Too many open files for this process" error.  However, there are no other files open in this program. The code and prototypes are exactly the same as an existing "C" client that is...

    Grahamlovelady5 pointsBadges:
  • Can I backup to disk with BRMS?

    Can I backup to disk with BRMS?

    Webdevyahoocom5 pointsBadges:
  • AS400 – RPGLE, convert character to numeric.

    Hi all...!         Here i give you the code. DNum_tmp           c              '18745678' I declared Num_tmp like this and i did some operations then i got  Res_tmp = '18745678' . Now the question is i want to convert this char value to decimal that is addtionable. is...

    Sureyz2,735 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.

Thanks! We'll email you when relevant content is added and updated.