-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ni892489/main-hizir-test
Main hizir test
- Loading branch information
Showing
5 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
#!/bin/bash | ||
set -e | ||
source ./basescript.sh | ||
|
||
printf "\nConfiguring Test4z...\n\n" | ||
|
||
printf "Enter username: " | ||
read USER_NAME | ||
|
||
npx zowe config set profiles.lpar1.profiles.test4z.properties.hlq "$USER_NAME" | ||
npx zowe config set --secure profiles.lpar1.profiles.test4z.properties.user "$USER_NAME" | ||
npx zowe config set --secure profiles.lpar1.profiles.test4z.properties.password "$USER_NAME" | ||
|
||
npx zowe config set --secure profiles.lpar1.profiles.zosmf.properties.user "$USER_NAME" | ||
npx zowe config set --secure profiles.lpar1.profiles.zosmf.properties.password "$USER_NAME" | ||
printf "\n#########################################" | ||
printf "\n#### Test4z configuration successful ####" | ||
printf "\n#########################################" | ||
printf "\n#########################################\n\n" | ||
|
||
printf "Deploying the input file to the Mainframe\n\n" | ||
|
||
hlq=$USER_NAME | ||
tempDirectoryName="FILES_TEMP"; | ||
DOGGOS_INPUT="DOGGOS.INPUT"; | ||
DOGGOS_INPUT_NEW="DOGGOS.INPUT.NEW"; | ||
DOGGOS_RUNAPP="DOGGOS.RUNAPP" | ||
storageClass="CAEDS6"; | ||
upload "$DOGGOS_INPUT" files/DOGGOS.INPUT DS N | ||
printf "\n###########################################################" | ||
printf "\n# Input dataset successfully deployed to the Z/OS system #" | ||
printf "\n###########################################################\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
#!/bin/bash | ||
set -e | ||
source ./basescript.sh | ||
|
||
printf "\nDeploying the input file to the Mainframe\n\n" | ||
|
||
printf "Enter username: " | ||
read hlq | ||
printf "\nDeploying the input file to the Mainframe\n\n" | ||
tempDirectoryName="FILES_TEMP"; | ||
DOGGOS_INPUT="DOGGOS.INPUT"; | ||
DOGGOS_INPUT_NEW="DOGGOS.INPUT.NEW"; | ||
DOGGOS_RUNAPP="DOGGOS.RUNAPP" | ||
storageClass="CAEDS6"; | ||
upload "$DOGGOS_INPUT" files/DOGGOS.INPUT DS N | ||
printf "Datasets successfully deployed to the Z/OS system\n\n"; | ||
printf "\n###########################################################" | ||
printf "\n#### Datasets successfully deployed to the Z/OS system ####" | ||
printf "\n# Input dataset successfully deployed to the Z/OS system #" | ||
printf "\n###########################################################\n" |