AS/400 Tag Directory

Featured AS/400 Questions

  • Change directory to spool files from FTP CMD?

    How can I change directory to the spool files from FTP CMD? The QSPL is the main directory to change. When I tried, it is saying the directory not found or authorization problem.

    Geek51150 pointsBadges:
  • What’s the difference between duplicate and clone commands?

    Can anyone tell me the difference between 'Duplicate' & 'Clone' commands?

    PKJain5 pointsBadges:
  • Read a file line by line in RPG

    I need to read a RPG source code file where I need to search a particular string in that file and I need to display RPG file when string found. It is similar to FNDSTRPDM in WRKMBRPDM. How can we do programatically using RPG/CL/COBOL.

    Geek51150 pointsBadges:
  • Calculate day difference in two dates in COBOL

    I want to calculate day difference in two dates and that value I will use further in my COBOL code. So how do I do this? Thanks in advance.

    sahsunil995 pointsBadges:
  • Search all for graphic fields in AS/400

    I want to perform Search All for comparing two graphic fields but it is not working. Can someone share idea how it has to be done?

    prdevghare20 pointsBadges:
  • Online and batch program for CICS

    How do I determine hard code program for online and batch program for CICS?

    Shandilyan15 pointsBadges:
  • Print PDF from micro focus COBOL PGM

    Hi , I want to know is there any possible way to print a report in PDF format from micro focus COBOL program. Currently my program uses program defined printer file and it is assigned to printer. So, report directly goes to printer file. I want to print or save that report in PDF format instead of...

    Supriyoas400190 pointsBadges:
  • Printing to LPT1

    We currently assign a file as lpt1 to print to a printer. We are moving to new servers and the server will not open the file and we get an 013 error. If we print from dos command line or print from a assigned file in cobol everything works fine. If we net use the server we see that lpt1 is mapped....

    guwoody5 pointsBadges:
  • Space offset X\’00002438\’ or X\’0000000000000000\’ is outside current limit for object & 1 in OS/400

    I am receiving this error on a COBOL program that I have been running for a long time. I just recompiled the program because I changed the file names & now it gives me this error. Space offset X'00002438' or X'0000000000000000' is outside current limit for object &1. Any ideas? - we are on...

    Shughes35 pointsBadges:
  • %parms and ILE/COBOL

    Is there a way in COBOL to determine how many parms have been passed in? (like the %parms bif in RPGIV)?

    Unknowingone195 pointsBadges:
  • DB2 Cobol stored procedure example

    DB2 Cobol stored procedure example FETCH  sql =-504

    eugene575 pointsBadges:
  • Performance Tracking of Stored Procedures

    We have a current system where a COBOL stored procedure is called by a .NET application. This COBOL SP then calls multiple COBOL subprograms which perform calculations and update files and then eventually return a value to the .NET app. We have a limitation in tracking the performance of each...

    Pcrum735 pointsBadges:
  • System Date in COBOL/400

    How to get the system date in the format of CCYYMMDD(*ISO) or MMDDCCYY(*USA) same like RPG/400? Can anyone please help?

  • How to read subfile records in Cobol/400

    How to read/update/delete subfile records in cobal/400? I'm unable to read 2nd record. Please advise? Read subfile dsp-file record into sflrec-i format is 'sflrec' perform until file_status='10' move ... rewrite db-rec format is 'pfrec' read subfile dsp-file next modified record into sflrec-i...

    chowas400615 pointsBadges:
  • What’s the use of special names in Cobol/400

    What is the use of special names in Cobol/400, and how can we use it. Please provide some good examples.

    Durgesh813375 pointsBadges:
  • PF in Cobol program

    I am currently working on a Cobol program, on a AS/400, where I had to revise the PF layout and made adjustments to the source program and compiled it. Problem is, the program is still picking up the 'old' PF layout instead of the newly revised layout? Any thoughts or suggestions that I missed? I...

    Bigdogg5 pointsBadges:
  • Mainframe Career – is it possible for me?

    Hello, I have been working for a MNC in India for the past 2 years. My nature of Job includes creating SAS programs and using JCL to run this SAS and get reports or other stuff from the DB2 databases or files. I also write simple SQL queries for DB2. I am right now in a stage where I need to decide...

    Richard19835 pointsBadges:
  • Send a parameter from COBOL to RBG?

    A Search400.com reader sent in this question: My question is how to send a parameter from COBOL program to program written in RBG. I know how to send parameter within two COBOL programs but how do I send from COBOL to RBG?

    Leah Rosin575 pointsBadges:
  • Need a COBOL QMHRTVM Example

    Does anyone have a code snippet they would be willing to share that demonstrates the parameter setup and the call for the API QMHRTVM? I am lousy with API's but I need to incorporate this one into two of my SQLCBLLE Programs.

    FCARPENTER200 pointsBadges:
  • Getting data from a SQL Server through Cobol – AS/400 application

    I've seen a lot of questions and answers about accessing data from SQL database but I am still not sure of how to handle what I need to do.  I have a Cobol application on our AS/400 that needs to get data from a SQL server. I have an ODBC connection already configured, but not sure how to...

    CWELLSEATON30 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