Getting RC=28

Discussion of the Co:Z Co-Processing Toolkit for z/OS
Post Reply
usaajrm
Posts: 80
Joined: Tue Feb 06, 2007 3:46 pm

Getting RC=28

Post by usaajrm » Tue Jun 09, 2015 1:44 pm

What can cause RC=28?


fromdsn(OSP.PRODCARD(BSAZUP01))[N]: 1 records/80 bytes read; 9 bytes written in 0 milliseconds.
cozagent[N]: version: 1.1.2 2013-03-19
fromdsn(DD:STDIN)[N]: 6 records/480 bytes read; 486 bytes written in 0 milliseconds.
fromdsn(DD:CNTLC)[N]: 1 records/160 bytes read; 38 bytes written in 0.001 seconds (37.109 KBytes/sec).
todsn(DD:REQSTAT)[N]: 59 bytes read; 1 records/160 bytes written in 0 milliseconds.
todsn(DD:REQSTAT)[N]: 72 bytes read; 1 records/160 bytes written in 0 milliseconds.
todsn(DD:REQSTAT)[N]: 141 bytes read; 1 records/160 bytes written in 0 milliseconds.
todsn(DD:REQSTAT)[N]: 90 bytes read; 1 records/160 bytes written in 0 milliseconds.
todsn(DD:REQSTAT)[N]: 34 bytes read; 1 records/160 bytes written in 0 milliseconds.
cozagent[E]: Target Program(6865) ended with RC=28
todsn(DD:STDERR)[N]: 345 bytes read; 7 records/338 bytes written in 0.191 seconds (1.764 KBytes/sec).
todsn(DD:STDOUT)[N]: 623 bytes read; 11 records/612 bytes written in 0.189 seconds (3.219 KBytes/sec).
[13:26:21.547036] CoZLauncher[D]: <0> CoZAgent: completed with RC=28
[13:26:21.547983] CoZLauncher[D]: <0> SSH process times: elapsed=0 secs, user cpu=0.040000 secs, sys cpu=0.010000 secs
[13:26:21.548007] CoZLauncher[D]: <0> Killing child process CoZServer (84084655) with signal 15
[13:26:21.548930] CoZLauncher[D]: <4294967> serverStderrThread completed
[13:26:21.549144] CoZLauncher[E]: <12> CoZAgent process (84083523) ended with RC=28
[13:26:21.549155] CoZLauncher[E]: <12> zubat01@prodbat2l target command '<default shell>' ended with RC=28
[13:26:21.549159] CoZLauncher[D]: <12> Killing child process CoZServer (84084655) with signal 15
[13:26:21.549370] CoZLauncher[D]: <12> kill() failed for child process CoZServer (84084655): [139] EDC5139I Operation
not permitted. (errno2=0x0D100114)
[13:26:21.549378] CoZLauncher[D]: <12> Waiting for CoZServer
[13:26:21.549392] CoZLauncher[D]: <12> CoZServer process (84084655) ended with RC=0
[13:26:21.550313] CoZLauncher[D]: <1> agentStdoutThread completed
[13:26:21.550392] CoZLauncher[D]: <4294967> agentStderrThread completed
[13:26:21.551813] CoZLauncher[E]: <12> CoZLauncher ended with RC=28
1
CoZAgent: zubat01@prodbat2l target program '/bin/bash' PID: 6865
CoZAgent: completed with RC=28

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: Getting RC=28

Post by dovetail » Wed Jun 10, 2015 2:04 pm

cozagent[E]: Target Program(6865) ended with RC=28

this means that the target program (the shell script on the target server) exited with this exitcode.

usaajrm
Posts: 80
Joined: Tue Feb 06, 2007 3:46 pm

Re: Getting RC=28

Post by usaajrm » Wed Jun 10, 2015 2:36 pm

Yes, it was not obvious. We have discovered the issue. Our jcl was saved with seq numbers in col 72-80. We have observed several odd behaviors when this happens. We have removed the seq numbers, turned off numbering, and reran successfully.

Post Reply