• Declare Cursor in AS/400 COBOL

    I have and SQLCBL program that declares a cursor, opens the cursor, and then does a fetch to process the data in the cursor. The fetch is not always retrieving the first record in the file. It's my understanding that the open positions the pointer right before the first record and that the Fetch...

    rdgribben15 pointsBadges:
  • 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.

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

    Geek51175 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?

    prdevghare25 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?

  • 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:
  • Mainframe emulator set-up

    How do I set-up a mainframe emulator in my PC so I can study Assembler, TPFDF and COBOL at home?

    Suzie5 pointsBadges:
  • Runtime VS COBOL II

    We still have old runtimes compiled with VS COBOL II because we don't have the sources anymore. We are migrating to Cobol LE and Z/OS 2.1 We are testing in this new environment and these old runtimes are still OK. Some of them call runtimes compiled with Cobol LE others are call by LE Cobol...

    SergeP5 pointsBadges:
  • Copy Spooled File to a Source Physical File Member

    How do I copy a spooled file listing into a member of a source physical file? I accidentally deleted the source member, but have a spooled copy taken via option 6.  I would like to convert the spooled file back into the deleted member.

    Paul10204215 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