• Dynamic file allocation in a COBOL subroutine

    I have successfully coded dynamic file allocation in a COBOL program.  My problem is this: I need to dynamically allocate the file in a central subroutine and then be able to open and close that file from the program that calls the subroutine to allocate the file.  Is this possible and if so, how?

    Ctrevino10 pointsBadges:
  • IKJEFT01 – COND CODE 61

    I'm trying to run a job which runs the program IKJEFT01 an it abends with return code 61. Does anybody knows what this means?

    Nyrmar5 pointsBadges:
  • Ensuring VSAM files are closed before COBOL program updates

    We have several VSAM files within a CICS online system that need to be closed so that a batch job can run against the files and update some of them. Right now we issue the cemt commands in batch but the files aren't actually closed at the time the COBOL program runs against them and an abend occurs...

  • How do I use DateDiff in cobol using SELECT statement?

    how to use DateDiff in cobol using SELECT satement.

    Ije35 pointsBadges:
  • Renames clause in cobol

    while using renames clause we are defining dataname-1 thru dataname-n. if i am having same datanames in another group which output can i expect?

    Renames5 pointsBadges:
  • adding field on screen DSPF

    Hi, i added a new field on the screen, declared the variable just like a similar one present in the screen. now I am changing the COBOL program of the same screen. I used the same variable to move value into it. As test I and to check whether issue is with how i have declared the variable in dspf I...

    itkr125 pointsBadges:
  • System Date in COBOL/400

    How to get the system date in the format of CCYYMMDD(*ISO) or MMDDCCYY(*USA) same like RPG400? Can anyone pls help?

  • COBOL date reformatting

    I am getting a date from DB2 and I need to reformat it in COBOL. It will eventually be used in DOC1 so I need it to look like a date (i.e. with slashes or dashes). DOC1 was not recognizing the date I am passing in because right now it is just a numerical string, so I could not cast it as a date in...

    Skmcm40 pointsBadges:
  • COBOL/400 program object source

    A Search400.com reader has asked this question: I am facing a problem regarding a COBOL/400 program object without source. Is there any utility like RTVCLSRC to retrieve the source code?

    AS400 - Ask the Expert485 pointsBadges:
  • Seeking Help with SQL SUBSTR Function using Host Variables in COBOL

    Hello All I am currently on version V5R2 and I am trying to make a COBOL program produce some parsed fields from one large field. I have trying to use host variables for al three arguments in the SUBSTR function. The SQL compiler will take a host variable as argument number one but not for argument...

    FCARPENTER200 pointsBadges:
  • Arrays in COBOL/400

    In COBOL/400 what all types of arrays is possible?

    0 pointsBadges:
  • Using LIKE in AS/400 Cobol

    How to use 'LIKE' in Cobol similar to query/400(example Field_A LIKE '%777%')

    111719555 pointsBadges:
  • Batch Job Ends without Calling Program on AS/400 V5R2M0

    Hi all, I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1. I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB. I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the...

    NarasimhaReddy225 pointsBadges:
  • COBOL Application Project Mgt Scoping Questions

    I've recently stepped into a project management position associated with the ongoing upgrades to an old COBOL financial system used for payroll.  I'm finding it difficult to nail down schedules and resource requirements for mods/enhancements I use to consider fairly simple in a non-COBOL...

    Jzjohnson6315 pointsBadges:
  • COBOL: Is it possible to apply a different Pic clause to a single variable?

    Is it possible to use a different  Pic clause from a single variable? based on the condition. DEBIT             PIC ZZZZZZZ,ZZZ,ZZ9.99                      PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example              When true...

    Promodhss50 pointsBadges:
  • Effective Userid on execution Unix and Cobol

    I have created one file 'F' wih one owner named 'A' and i want to give the effective userid settings to one program named 'p' written in cobol. even though the other users can't open the file named 'A' above . they can access the file by using the program 'P'. for that i have set effective user id...

    RamkiHsl5 pointsBadges:
  • Moving data between 2 iSeries Servers

    We have a Production iSeries and a Development iSeries. We want to be able to select data from our Production System and Transfer it to a programmers library on our Development System. When we were on a single system we used SQL/Cobol. We have been successful getting to the database on each system...

    wpoulin2,480 pointsBadges:
  • Calling a stored procedure in COBOL

    I'm looking for samples of how to code and compile a call of a stored procedure in a COBOL program? The stored procedure is delivered as part of a software package. No coding examples were provided in the documentation.

    Tw65 pointsBadges:
  • COBOL ‘Divide By Giving Remainder’ Code Not Working Correctly

    Good Afternoon! I would appreciate any assistance with the following coding question. ARH-UNITS database field is defined as Signed 7,2. Initial value of zero. ARH-HOURS database field is defined as Signed 4,2. Initial value of 1.75. 03 WS-CAL-UNITS PIC S9(5) VALUE ZEROS. 03 WS-CAL-REMAINDER PIC...

    Phruska0 pointsBadges:
  • high-values low-values (microfocus COBOL in Oracle/Linux environment)

    Successfully remediated 80+ programs from mainframe env to run in microfocus cobol against Oracle DB in Linux env. I have one pgm that is moving high and low values to output header trailer records per requirement. Leading 9 bytes of each record. My problem is that when it ran on the mainframe I...

    Zcr00245 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