Skip to content

Commit 7917211

Browse files
chrjorgensenThePrez
authored andcommitted
Remove print of environment variables from submitted jobs
1 parent d693644 commit 7917211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/jesseg/ibmi/opensource/utils/SbmJobScript.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ public class SbmJobScript {
2222
"SBMJOB_OPTS=\"JOB($SBMJOB_JOBNAME) $SBMJOB_OPTS\"\n" +
2323
"QIBM_USE_DESCRIPTOR_STDIO=N\n" +
2424
"export QIBM_USE_DESCRIPTOR_STDIO\n" +
25-
"exec /QOpenSys/usr/bin/system -kpiveO \"SBMJOB CMD(CALL PGM(QP2SHELL2) PARM('/QOpenSys/pkgs/bin/bash' '-c' 'cd $(pwd) && env && exec $*')) CPYENVVAR(*YES) PRTDEV(*USRPRF) ALWMLTTHD(*YES) $SBMJOB_OPTS\"";
25+
"exec /QOpenSys/usr/bin/system -kpiveO \"SBMJOB CMD(CALL PGM(QP2SHELL2) PARM('/QOpenSys/pkgs/bin/bash' '-c' 'cd $(pwd) && exec $*')) CPYENVVAR(*YES) PRTDEV(*USRPRF) ALWMLTTHD(*YES) $SBMJOB_OPTS\"";
2626
//@formatter:on
2727
public static File getQp2() throws IOException {
2828
final File scriptsDir = AppDirectories.conf.getScriptsDirectory();
2929
if (!scriptsDir.isDirectory()) {
3030
scriptsDir.mkdirs();
3131
}
32-
final File script = new File(scriptsDir.getAbsolutePath() + "/batch_qp2.v1.sh"); // bump the version if the script contents change
32+
final File script = new File(scriptsDir.getAbsolutePath() + "/batch_qp2.v2.sh"); // bump the version if the script contents change
3333
if (script.exists() && script.length() > 20) {
3434
script.setExecutable(true);
3535
return script;

0 commit comments

Comments
 (0)