Variable "APT_AUTO_TRANSPORT_BLOCK_SIZE" missing

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
just4geeks
Premium Member
Premium Member
Posts: 644
Joined: Sat Aug 26, 2006 3:59 pm
Location: Mclean, VA

Variable "APT_AUTO_TRANSPORT_BLOCK_SIZE" missing

Post by just4geeks »

I am having another problem with running jobs at CLI.

When I run a job as following, it works fine.

Code: Select all

dsjob -run -wait projectname jobname
Then I ran it as following ,

Code: Select all

dsjob -run -wait -jobstatus projectname jobname

it aborted with the following error.

Code: Select all

From previous run 
DataStage Job 91 Phantom 10527
The variable "APT_AUTO_TRANSPORT_BLOCK_SIZE" is not in the environment.
Why does it do that? Thanks for your time.
Attitude is everything....
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

What happens when you remove the -wait and just put -jobstatus?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
just4geeks
Premium Member
Premium Member
Posts: 644
Joined: Sat Aug 26, 2006 3:59 pm
Location: Mclean, VA

Post by just4geeks »

DSguru2B wrote:What happens when you remove the -wait and just put -jobstatus?
Yeah, it worked.
Attitude is everything....
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

Yeah, it worked.
Does anyone know why it did not work with -wait and what is this APT_AUTO_TRANSPORT_BLOCK_SIZE?
Success consists of getting up just one more time than you fall.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

The option jobstatus it self will wait till the job gets finished, to fetch the status of that run.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

Got this from the manual:
Setting Transport Block Size
You can set the APT_AUTO_TRANSPORT_BLOCK_SIZE to True to have DataStage automatically calculate the block size for transferring data for transferring data internally as jobs run.

The APT_DEFAULT_TRANSPORT_BLOCK_SIZE variable defines the block size used otherwise. By default it is set to 32768.
But its under Parallel Job Environment variables, not sure if its applicable in server jobs also and how it is appearing in the error text pasted.
Success consists of getting up just one more time than you fall.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Now I doubt, if its somehow PX job and wrongly parked here. :roll:
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
just4geeks
Premium Member
Premium Member
Posts: 644
Joined: Sat Aug 26, 2006 3:59 pm
Location: Mclean, VA

Post by just4geeks »

kumar_s wrote:Now I doubt, if its somehow PX job and wrongly parked here. :roll:
I confirm that it is a Server Job.
Attitude is everything....
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How was it resolved?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

just4geeks wrote:
DSguru2B wrote:What happens when you remove the -wait and just put -jobstatus?
Yeah, it worked.
Is that what your looking for Ray ji ? :roll:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No. I need to know WHY, with both options in place, this error gets generated. And therefore why removing one - either, perhaps? - fixes the problem. In short, how it was resolved. Not what was done.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

O okie. Cool.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I for one don't see the connection between the two options and the APT variable issue. I know, back in my younger and foolisher days, I've used both without knowing better and it didn't throw that error. Maybe it helps I don't have PX, only a Server license.

Put both back, see if the error repeats. Or someone else use both and see.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I have tried it as well. No issues at my end.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Maybe some kind soul just added APT_AUTO_TRANSPORT_BLOCK_SIZE in to the OP's project via the Administrator client.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply