No bmp when generating report from command line

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Gazelle
Premium Member
Premium Member
Posts: 108
Joined: Mon Nov 24, 2003 11:36 pm
Location: Australia (Melbourne)

No bmp when generating report from command line

Post by Gazelle »

I am trying to generate the html reports for each job in a project (thanks kduke for the basic script -- very helpful).

The problem is that the html file is created, but no bmp file.

The command that is executed from Windows:

Code: Select all

C:\IBM\InformationServer\Clients\Classic\dsdesign.exe /H=rsadat522 /U=dsadm /P=xxxxxx Projtst A_Job_Test1 /R /RP="Z:\30 Data Transform\DailyBackups\Html_20101214_144823"
The Designer Client Guide, and other DSXchange forum posts, suggests that the /R switch should result in the both the html and a jobnumber.bmp file.
I have tried moving the /R switch before the project name, but still no bmp.

Can anyone see what's missing in the command (perhaps something new to v8.1), or provide some leads into what else to try?
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

I have found in 7x that a generated report from Designer will fail to produce the bmp if the path for the location of the two files is too long. I don't know if that is relevant to your problem, but I'd like to see further discussion of the details. Thanks for making your post.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Gazelle
Premium Member
Premium Member
Posts: 108
Joined: Mon Nov 24, 2003 11:36 pm
Location: Australia (Melbourne)

Post by Gazelle »

FranklinE, you're brilliant!

That was the problem.
In my post, I truncated the pathname to make it a bit more readable.
Note to self: post the full command in future

The full command was:

Code: Select all

C:\IBM\InformationServer\Clients\Classic\dsdesign.exe /H=rsadat522 /U=dsadm
/P=xxxxxxx /R Projtst A_Job_Test1 /RP="Z:\40 Stage - Build\40.30 Data
 Conversion\40.30.30 Data Transform\DataStage\DailyBackups\BackUps\Html_20101214_143823"
I tried changing the pathname to "C:\TEMP", and it worked.
Thanks for the tip.
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

You're most welcome, Gazelle. I'm an old DOS dog from the bad (ahem, I say good) old days of character-based "graphics" and 8-bit limitations. Windows and WYSIWYG has made us lazy, and this is not the first time I've encountered this sort of problem.

My only claim to "brilliant" is what I've learned from the even-older dogs: Never hesitate to pull the cover off and look at the innards. You may not understand all of it, but at least you can see what it's doing. :wink:
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Post Reply