Skip to content

Commit

Permalink
Add STRWCH command to output
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrez committed Feb 14, 2024
1 parent 8266036 commit 2e232c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void strwch()
public boolean isRunning()
throws AS400SecurityException, ErrorCompletingRequestException, IOException, InterruptedException,
PropertyVetoException, ObjectDoesNotExistException {
AS400 as400 = IBMiDotEnv.getNewSystemConnection(true);
AS400 as400 = new AS400("localhost","*CURRENT","*CURRENT");//IBMiDotEnv.getNewSystemConnection(true);
ProgramCall pc = new ProgramCall(as400);

final ProgramCall program = new ProgramCall(as400);
Expand Down Expand Up @@ -106,7 +106,7 @@ public boolean isRunning()

private static void runCmd(final String _command)
throws AS400SecurityException, ErrorCompletingRequestException, IOException, InterruptedException {
AS400 as400 = IBMiDotEnv.getNewSystemConnection(true);
AS400 as400 = new AS400("localhost","*CURRENT","*CURRENT");// IBMiDotEnv.getNewSystemConnection(true);
CommandCall cmd = new CommandCall(as400, _command);
boolean isSuccess = cmd.run();

Expand Down

0 comments on commit 2e232c2

Please sign in to comment.