AS/400 Tag Directory

Featured AS/400 Questions

  • 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...

    chowas400585 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,475 pointsBadges:
  • Determine JOBQ from an active Batch Job

    How do you determine the JOBQ that an active batch job is running from? I have submitted a job to a specific jobq. This job will submit other jobs. I want the other jobs to run from the same jobq that the main job was run from. I don't want to hard code the jobq name.

    SteveLOGAN10 pointsBadges:
  • Capture Select Statistics report

    I want to run a batch job to create a Select Statistics report and capture the report in a dataset. What commands do I use?

    Tcrab5 pointsBadges:
  • How to read multi member Physical file through SQL?

    How to read multi member Physical file through SQL?

    rajeshece1,215 pointsBadges:
  • How to identify the AS/400 program names which is using the Specific module?

    How to identify the program names which is using the Specific module? Module1 is used in Pgm1, Pgm2, and Pgm3. How to identify program names which is related to module1?

    rajeshece1,215 pointsBadges:
  • AS/400 COBOL

    one physical file have 6 key fields,now i want to retrive the 10th record based on one key field,how to retrive in cobol/400 with without using logical file ex:- emp pf have 6 key fields,and emp have records,now i want to retrive particular record in emp(10 th record only),in my cobol pgm some...

    madhuchowdary350 pointsBadges:
  • How to remove specific lines from a text files using either vbs or bat.

    We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a method to remove specific lines...

    swinehart68031,050 pointsBadges:
  • How to use RZ20 for Batch job failure with email

    Hi! How can i define job failure alerts in RZ20. The email goes to an external address! 'will be pleased for a guideline or step by step doc. Kumar from Germany

    mitrak5 pointsBadges:
  • Record locked by the same job

    Here's the case where my program does several Read operations on a single file at different places. At one of the READ statements it throws error that the record is already locked to this Job. Apparently it would have got locked in one of the other READ operations, but is there a way I can find...

    NetBro20 pointsBadges:
  • Physical Files with triggers

    I am implementing existing files that have triggers. Do these triggers need to be removed from the files before implementing the file changes and then added back after the changes are implemented? Thank you,

    vrs235535 pointsBadges:
  • How to show table Constraints on AS/400

    Hello masters, I want to show table constraints on as400 database.I asked somebody people and they are said me; "Do not show (constraints - table relations) on AS/400". I don't believe that. And now asked How to show table constraints - relations on AS/400 I'm very curious about the answer to this...

    HBurakKaradag15 pointsBadges:
  • Newly expired tapes aren’t being cleaned using BRMS

    Hi, we are having some problems with the behavior of our backup process, since its using the latest / newly expired tapes instead of those which are expired long ago. As a result, the newly expired tapes doesnt get cleaned (STRMNTBRM) since it already has new files in it, together with the older...

    Jerico125 pointsBadges:
  • change Mocha 5250 keyboard setting

    In Mocha 5250 'Esc' key doesn't work in window 98.... i re installed mocha software, after also i got same problem...

    pdsathishkumar3,790 pointsBadges:
  • Sending Job into MSGW

    When a batch job is submitted, no system errors but there are no records in the file to process, I want to send the job into MSGW and show the message that a certain file does not have records? How to send a job forcefully into MSGW using SNDPGMMSG or SNDUSRMSG?

    TNKR130 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