Command continuation on //STDIN DD *

Discussion of the COZBATCH utility for z/OS
Post Reply
techgbm
Posts: 2
Joined: Wed Jun 13, 2007 4:04 pm

Command continuation on //STDIN DD *

Post by techgbm »

Hi,

When we use the BPXBATCH to issue Unix commands, we use a plus(+) sign for continuation. For example:

/WebSphere/V6R1/dmgr/JIST/DeploymentManager+
/profiles/default/wsadmin.sh +
-conntype SOAP +
-port 8879

I've tried this with DtlSpawn and it thinks every line is a new command.
How do I do this using DtlSpawn???

Thanks!!
Gale
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

I'm not really sure why BPXBATCH invented a new way to continue lines :-)
With DTLSPAWN, every line is a new line for the Unix shell.
If you want to continue a line in a shell, use the backslash ('\') character.

Code: Select all

/WebSphere/V6R1/dmgr/JIST/DeploymentManager\
/profiles/default/wsadmin.sh  \
-conntype SOAP  \
-port 8879 
techgbm
Posts: 2
Joined: Wed Jun 13, 2007 4:04 pm

Post by techgbm »

Hi,

That worked, great! Thank you very much.

Gale
john.mckown
Posts: 48
Joined: Tue Jun 12, 2007 2:46 pm

command continuation in BPXBATCH

Post by john.mckown »

BPXBATCH is a TSO command processor. That is why it uses TSO line continuation instead of UNIX continuation.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Ahh - that makes sense I guess.
Post Reply