Search found 733 matches

by FranklinE
Wed Dec 27, 2017 1:31 pm
Forum: General
Topic: Project Name in environment variable?
Replies: 16
Views: 7987

Told to me by my Cobol instructor: never apologize for ignorance. It gives those of us with a little bit of knowledge a chance to look like geniuses. :lol: DataStage has a scheduling utility. Look it up in the manuals. It's rather primitive compared to external schedulers, and might suit you if your...
by FranklinE
Wed Dec 27, 2017 12:58 pm
Forum: General
Topic: Project Name in environment variable?
Replies: 16
Views: 7987

"Server side includes." The general use is to source in script lines that are common to scripts in use. In my experience, they are common function definitions -- get server name, verify existence of directories, etc. -- and in our DataStage environment they contain required common variable...
by FranklinE
Wed Dec 27, 2017 10:06 am
Forum: General
Topic: Project Name in environment variable?
Replies: 16
Views: 7987

PaulVL wrote:So how about a loop in your master sequencer?
How would he exit the loop? It's an assumption, but he indicates that the job is time based.
by FranklinE
Wed Dec 27, 2017 8:16 am
Forum: General
Topic: Project Name in environment variable?
Replies: 16
Views: 7987

Sounds like a design problem (ahem, call me Dr. Obvious) but not at the DataStage level. You need a scheduler with cyclic capabilities to control your job runs. If you don't have an external scheduler, the following might help you find an inconvenient alternative in DS. We use Control-M. I would put...
by FranklinE
Fri Dec 15, 2017 9:17 am
Forum: General
Topic: Server Manager - Package Deployment
Replies: 5
Views: 4297

Pete, maybe I'm confused, but I ask respectfully if with exasperation why the heck you'd want to put objects from more than one project in the same package? The assumption here is that you are using the isx format for your exports. The dsx format is very clear in the first headers, that the objects ...
by FranklinE
Wed Dec 06, 2017 3:39 pm
Forum: General
Topic: List Parameter Questions
Replies: 4
Views: 3512

The notion of a user "controlling" a production job scares me more than a little bit. I hope you have controls over that which would prevent a user from creating a mess. In our environment, I'd use Control-M to pass the location(s) to the DS job. For example, I'd create a variable called L...
by FranklinE
Fri Dec 01, 2017 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading Binary Data into DB2 using DataStage
Replies: 13
Views: 6092

Ramesh's sample data prompts me to ask: where are you converting to or from EBCDIC and ASCII?

Review all your read/write attributes. I'm guessing this is a character set issue, not the format of the data stream.

See my signature line for using mainframe data FAQ link.
by FranklinE
Tue Nov 28, 2017 12:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC - multi copybooks, recordId and link col err
Replies: 9
Views: 6715

Patrick, The import interface with DataStage works well for Cobol, but it has a couple of flaws. The first one is that it is designed to basic, strict standards being expected, and Cobol has flavors. The second is that it tries too hard to be WYSIWYG, and doesn't quite succeed. I'm glad you didn't r...
by FranklinE
Mon Nov 27, 2017 12:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC - multi copybooks, recordId and link col err
Replies: 9
Views: 6715

You don't have a multiple record type file. You have one record of 180 bytes.

Sorry, but you're barking up the wrong tree.
by FranklinE
Mon Nov 27, 2017 10:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC - multi copybooks, recordId and link col err
Replies: 9
Views: 6715

Follow the link in my post signature to the FAQ for using mainframe data. From your description, you have one record definition in two parts, not a header record followed by data records. The clue there is in the descriptions. RDK00 is 26 bytes long, and RDK01 begins in position 27. Revert the 01s t...
by FranklinE
Tue Nov 21, 2017 1:47 pm
Forum: General
Topic: Preview Webinar for new DS release
Replies: 8
Views: 5532

First impressions: Excellent presentations and support from Dennis and his team. Next time, schedule it for 90 minutes or two hours. I know attendees have time concerns, but this was important topical stuff, and well worth the time. Flow Designer looks very exciting. The integrated source control wa...
by FranklinE
Tue Nov 21, 2017 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: insert/update with no key
Replies: 4
Views: 3447

For secure and reliable restartability, full (bulk) load is the first choice. Doesn't matter what DBMS you are using, or the structure of the table. For example: Job 1 -- bulk unload for backup/restore if "new" data cannot be fully loaded. Job 2 -- merge unloaded data with "new" ...
by FranklinE
Fri Nov 17, 2017 1:44 pm
Forum: General
Topic: Preview Webinar for new DS release
Replies: 8
Views: 5532

Preview Webinar for new DS release

I want to encourage everyone who attends the webinar to discuss the new release here. Mostly, it's so I have a chance to see myself write (hear myself speak).
:lol:
by FranklinE
Thu Nov 16, 2017 12:19 pm
Forum: General
Topic: Dynamically export files based on Config table
Replies: 14
Views: 6087

I have a loop that uses a list file with parameters, an index (increasing integer, controls the number of loops) and a file name. Each instance of the loop calls a parallel job to FTP get the named file. First read of list gets maximum index (number of loops). During the loop, the instance of the lo...
by FranklinE
Wed Nov 15, 2017 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove multiple special characters from leading and trailing
Replies: 16
Views: 14079

You have a logical paradox in your requirements: certain characters are to be removed, except when they are not to be removed. The difference is positional, which is why it's a paradox. Why must you preserve the characters on the inside? Is this a hard requirement (like an audit trail), or is it arb...