Search found 733 matches

by FranklinE
Mon Nov 19, 2018 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SFTP Stage - Failing to connect between MVS and Linux Server
Replies: 2
Views: 2729

What Craig said, and for us it was the active setting on the FTP host server. It limits the number of available data ports, and as volume and usage increased here, we started seeing a gradual increase in abends on no ports available. Often, it was masked by the host deciding that the file wasn't fou...
by FranklinE
Mon Nov 19, 2018 7:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

Rumu, Craig likes to tease. You don't need to apologize. He has me to answer mainframe data questions, and ever since I wrote an FAQ for him he's been even more teasing. Ahem. 8) Your latest problem needs further definition. What fields are involved with your "weird" characters, and what a...
by FranklinE
Thu Nov 15, 2018 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

There's a level of detail in your situation, which you would not provide here, which prevents me from offering any specific feedback. If you have successful reads and processing, then you have the right solution.
by FranklinE
Tue Nov 13, 2018 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

Rumu, Your need to split the REDEFINES to a subordinate item (higher level number) is very odd. I have many successfully imported copybooks that have the PIC clause on the REDEFINES item. The expected period error is not one I can help you with. Sometimes, if you used copy/paste for the line, retypi...
by FranklinE
Tue Nov 13, 2018 12:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

I explained the format requirement in the third post on this page: every line must start in position 8. You can indent higher level number lines for ease of reading, but it's not required. If your copy/paste of the REDEFINES line is accurate, you have a space following the last hypen, ACCOUNT- NUMBE...
by FranklinE
Tue Nov 13, 2018 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

Rumu, Yes, what Craig said. A bit more seriously: you are now dependent on another development environment. You need them to notify you of any changes to the code (copybooks) on which your DS jobs are dependent. You then have to manually make the corresponding changes in the jobs that use the copybo...
by FranklinE
Fri Nov 09, 2018 1:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

I had to look up the P in a PIC clause. It is an obscure usage meant to enhance or reduce the scale of the numeric format. The import wizard is not perfect -- see my FAQ for using mainframe data. "999PPP" means that the 3-byte field is scaled up. A value of 123 will actually be 123,000. Be...
by FranklinE
Fri Nov 09, 2018 12:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

The text of your post doesn't indicate if what I'm about to say is accurate. I'm assuming it is. The copybook format expected by the import wizard is simple. The first 7 bytes -- character positions -- must be spaces. Position 7 can contain an asterisk to make it a comment line. The "0" of...
by FranklinE
Fri Nov 09, 2018 11:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

First, you have my sympathy for a mainframe development process that doesn't comply with basic standard practice. For a multiple record file, there is no such thing as an "optional" header. The important part is that you can edit the copybook before importing it to reflect the reality of t...
by FranklinE
Wed Nov 07, 2018 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

My implementation is z/OS mainframe, and we handle what you describe as you describe it. FTP Enterprise stage for input: Format tab: Record type = implicit Delimiter = none Character set = EBCDIC Data format = binary Allow all zeros = yes Packed = yes -- Check = no One column, SQL type Binary, Exten...
by FranklinE
Tue Nov 06, 2018 12:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String To Decimal Conversion Error
Replies: 4
Views: 5153

Your input columns are all VarChar(7), your output column is Decimal(5,2). You have two fewer bytes on output, and unless you either trim the string to 5 bytes or increase the decimal to 7,2 you will continue to have the warning.
by FranklinE
Tue Oct 30, 2018 12:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

Based on a copybook I use that is similar to yours, it should work. You only need one 01 line. You only need one 05 Header section. You're import will show the redefines for the 05 body sections. The 05 trailer will show at the end. When you load the table definition to CFF, and you define it as mul...
by FranklinE
Tue Oct 30, 2018 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

That's a good start. You have 4 types of records, each with a unique value in RDT-REC-CODE. Every record type has a common area, 82 bytes "header" and the trailer. Your copybook can be reviewed to make sure on import that you've correctly loaded a table definition for each record type. Loa...
by FranklinE
Tue Oct 30, 2018 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

I'm not sure what you're asking, so let me know if I missed what you need. The copybook text file can have any extension. The import wizard for COBOL FD finds copybook files for import with the default extension .cfd, but you can have it find any other extension. The copybook is plain text and is co...
by FranklinE
Tue Oct 30, 2018 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COBOL file without copybook
Replies: 98
Views: 44281

Rumu, There's a link to the FAQ for using mainframe files at the bottom of my post. To answer your last question first: the import wizard for COBOL FD looks for .cfd on file names. I've never tried using a formatted file like a Word doc, but the wizard is a plain text parse and you are well-advised ...