1
  • ILE – module change

    Hi, How to find the list of programs using a module (other than find string or hawkeye) which needs to be modified? If a module used by more than 15 program needs to be changed, what are the ways to update the impacted programs (apart from running UPDPGM command)?

    RJES45 pointsBadges:
  • What is the best way of printing to two drawers within the same print job?

    I need to print client 1, page 1 from drawer 1, client 1, pages 2-10 from drawer 2 , then cilent 2, page 1 from drawer 1, client 2,pages 2-10 from drawer 2 etc. I am doing this from an ILE program with an externally defined print file. I have tried executing an override printer command to drawer 2...

    LLoyd02445 pointsBadges:
  • Handling errors in CL Programs

    I've been searching all over the internet (and this site) looking for a good way to generically handle errors within a CL program.  Everything's seems very vauge to me. What I'm looking to do is something like this: CHGSPLFA   FILE(&SPOOLFILE) SAVE(*NO)  MONMSG     MSGID(CPF0000) ...

    Dcantwell480 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:
  • OPM COBOL Calling ILE Program – Passing Parameters

    I have created two modules. One with the CRTCBLMOD. This is *MODULE type named TESTCBLLE. The other one, using the CRTCMOD, I created *MODULE type named TESTCILE. Then I used the CRTPGM to create the single program TESTING with the *PGM type and the attribute *CBLLE. When I did the CRTPGM command,...

    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:
  • Open XL file from ILE program

    We have a process that converts a spooled file into a .CSV file and stores it in a folder on the IFS. The user then opens Excel and locates and opens the file for editing etc. Is there a way to open up the file in Excel for them after its transferred to the IFS? Could you show me code examples...

    filuphaze475 pointsBadges:
  • ILE Call(e) error handling

    I am calling a CMD from an ILE program (simulates WRKSPLF) that emails a spool file. In my program I use Call(e) and %error indicator is on when CMD is executed if an error occurs during execution however I cannot determine which error happens. I tried using psds sds msgid 40 46 msgdsc 91 170...

    filuphaze475 pointsBadges:
1

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.

Thanks! We'll email you when relevant content is added and updated.

Following