• Why this error code in COBOL program: CPD7914

    Need help getting pass this error message. using this input file definition * Beginning of data *****************************   R DCREFR                                           DCCODE         3          ALIAS(DC_CODE)        ...

    nitzinger385 pointsBadges:
  • Same fle being used by two programs in a job.

    This is in cobol 400. Suppose program A opens a file in input mode and after that program A called program B which again opens the same file in input mode. File got opened successfully. Now assume that file is only getting closed in program A. Is this correct? Are we supposed to close the same file...

    Thotts45 pointsBadges:
  • sflcode & COBOL/400 code

    i have a database file name emp         file name=Emp R emprec    Eno           10p    Ename      10a    Esal          10p k Eno and subfile name is empsfl  sflrec Contain fields   SEno        10p   SEname   10a   SEsal       10p sflctl contain indicators...

    madhuchowdary350 pointsBadges:
  • Move to One Update Program in Cobol

    Been running some test, to try to use one update program to help with recompiles and maintenance.  "UPDATEPRO" in my example is the update program "PROGRAMA" calls "UPDATEPRO" for all I/O.... FILEA and FILEB are Phyical Files.  "PROGRAMA" Program info...  WORKING-STORAGE SECTION.  01...

    BeanBaggs220 pointsBadges:
  • How to insert records in a physical file using input subfile

    have to insert records to a physical file ,the input records should be taken from an input subfile

    Rr123480 pointsBadges:
  • Calling C ILE Procedure from COBOL 400 Program

    I cannot get the parameters correct on this. I created a module for both the C and the COBOL, then used CRTPGM. My COBOL has WS-FIRST-COBOL-NUM PIC S9(2), WS-SECOND-COBOL-NUM PIC S9(2), WS-NUM-TOTAL-COBOL PIC S9(3) defined in WORKING-STORAGE.                Then I use those for my...

    400Programmer185 pointsBadges:
  • Calling C ILE Program from COBOL 400 ILE Program

    [html xmlns=""> I need help in figuring out how to call a C ILE program from a COBOL 400 ILE program. In my example I would like to pass three parameters from the COBOL program (num1, num2, total) to the C program. In the COBOL program I will hardcode the numbers as, say, 9 for num1 and 8 for num2....

    400Programmer185 pointsBadges:
  • How do you initiate a direct web service call from the AS/400?

    How do you initiate a direct web service call from the AS/400? I am programming in 400/COBOL. I am assuming I need to use COBOL ILE.

    400Programmer185 pointsBadges:
  • Getting a decimal data error when making a change in COBOL AS/400

    Hi, I am doing a change in COBOL pgm in as400. Requirement is to replace an existing input file with a new one and move its field values to the output file. There is a difference here as old input file had the particular field in numeric and the new input file has it in decimal. I have used COPY...

    itkr125 pointsBadges:
  • Rename Clause

    Hi, Can any one please tell me what is Rename Clause and the use of Rename clause? I know only we are using 66 level for Rename clause in Cobol Program. Thanks In advance. Suchi..

    Heramba5 pointsBadges:
  • Next step in my AS/400 career

    Hi, I've been working for last 3.5 years in AS400 and in which Cobol400 as programming language. I didnot get any chance to work in RPG in these years. Actually i want to grow in my career as technical expert in AS400. But being only knowledge in cobol and cl, i am not sure that i will make it....

    Thotts45 pointsBadges:
  • Record format in Display file in COBOL/400

    What is the maximum number of Record format that can be used in Display file in COBOL/400?

    MAGIC205 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:
  • COBOL/400 interview questions

    Can anyone share me COBOL/400 Interview questions Document??

    C.naveen09140 pointsBadges:
  • AS400 COBOL ILE Pointer not set for location referenced – Trigger

    Hello, Guys I have been trying to run an ILE Cobol Trigger program, however it stops wiht the message below Pointer not set for location referenced.  If when debbuging the system is able to resolve the address of the variable associated with the PF. Hope someone can provide soime guidance. The...

    Saurater45 pointsBadges:
  • How to copy source code of Pgm into Flatfile in COBOL

    I want to read the one of the pgm's source code through my another program. So anyone plz suggest me how can i read the source code?

    Promodhss50 pointsBadges:
  • Justify right in COBOL

    I have data where the format has been changed slightly by the carrier and now this change is causing my job to abend. The last page number of each file reads ex.'160 OF 160' however, the new format must read '160 of 160' which means that the last page number needs to justfied to the right to pos...

    Tm200930 pointsBadges:
  • Debug ILE Cobol 400

    How can I display (Eval) subset of a filed while debugging ILE Cobol program. How can I view the content of a field from specified position and lenght. I know how to review the content for a specified lenght, but can't find a way to view part of the string from position 256 for example.

    GalB5 pointsBadges:
  • How does one change an S9(7) comp-3 value to a 9(7) field?

    From an externally define file I bring in an S9(7) comp-3 value how can I convert this field to a 9(7) that I can use to make a compare like 'IF field1 = field2 then do' .

    nitzinger385 pointsBadges:
  • File Status 90

    Can anyone help me why I'm getting status 90 when I try to write to a logical file.

    Arnelr45 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