• 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:
  • 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:
  • Automaticall Refresh Display (COBOL)

    I have a need to have the screen do an Automatic Refresh. I have created a working sample using CLP and setting the Display file to waitrcd(5). CRTDSPF WAITRCD(5). So I know it can work. I have found several examples using RPG. I need to do it using COBOL. Can any one help? I have taken everything...

    KSC90 pointsBadges:
  • Enterprise Cobol obtaining calling program name

    Enterprise Cobol v3.4 on Z/OS 1.9. Batch called program. I want to parse through mvs data areas to obtain the program name that called my program(dynamically). I have viewed examples on Share website to get some system info. I need specifically the program name that called my program. Is this...

    Dfailla5 pointsBadges:
  • Problem with highlighting a program or JCL

    I am a COBOL developer, and I've got a new terminal (Lenovo) yesterday. I have a problem: I cannot highlight a COBOL program or JCL in the TSO. I type command "HI" in the command line, but instead of getting the next screen with highlight options, I am getting the error message "Invalid terminal"...

    Yuefmu5 pointsBadges:
  • HOW TO USE A PERFORM IN COBOL?

    USING PERFORM TO EXECUTE MY PASSWORD HOW DO I USE IT?

    Precy5 pointsBadges:
  • How to read a PF from bottom up?

    Wihtout using a LF how can i read a PF from bottom to up in cobol. If i use posdbf(*last) in clp  then how to proceed after that ?

    Supriyob2165 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