Problems with DB2 program

5 pts.
Tags:
AS/400 Parameters
COBOL
DB2
DB2 administration
I have a COBOL program that calls a db2 stored proc program. I get corrupted o/p records when reading the input file from CARTRIDGE. The same records, when copied to DASD, come out fine. Same code, JCL, etc. WTH! Is there a parameter that I need to pass to the system with PGM=IKJEFT01 to solve this?

Software/Hardware used:
ibm shop; ruuuning in mvs with jcl accessing db2

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • TomLiotta
    I get corrupted o/p records... Please described what "corrupted" means? Wrong encoding? Wrong data? Wrong format? Wrong records? ...when reading the input file from CARTRIDGE. Reading what input file? What is "CARTRIDGE"? I could assume that you somehow redirected the output from your COBOL program to a 'cartridge' tape volume -- is that close? But then, how are you "reading" it? Reading it with what? (Is it even on the same system? Or has the 'cartridge' been loaded on a different platform?) Tom
    125,585 pointsBadges:
    report

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