Skip to content

Commit 96ce541

Browse files
committed
add --cpsmhlq
1 parent efb594b commit 96ce541

File tree

12 files changed

+185
-34
lines changed

12 files changed

+185
-34
lines changed

__tests__/api/BundleDeploy/BundleDeployer.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ describe("BundleDeployer01", () => {
185185

186186
function setCommonParmsForDeployTests(parms: IHandlerParameters) {
187187
parms.arguments.cicshlq = "12345678901234567890123456789012345";
188+
parms.arguments.cpsmhlq = "abcde12345abcde12345abcde12345abcde";
188189
parms.arguments.cicsplex = "12345678";
189190
parms.arguments.scope = "12345678";
190191
parms.arguments.csdgroup = undefined;

__tests__/api/BundleDeploy/__snapshots__/BundleDeployer.test.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`BundleDeployer01 should generate deploy JCL for csdgroup 1`] = `
44
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
55
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
66
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
7-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
7+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
88
//SYSTSPRT DD SYSOUT=*
99
//SYSIN DD *
1010
*
@@ -28,7 +28,7 @@ exports[`BundleDeployer01 should generate deploy JCL for csdgroup with timeout 1
2828
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
2929
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
3030
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
31-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
31+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
3232
//SYSTSPRT DD SYSOUT=*
3333
//SYSIN DD *
3434
*
@@ -54,7 +54,7 @@ exports[`BundleDeployer01 should generate deploy JCL for resgroup 1`] = `
5454
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
5555
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
5656
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
57-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
57+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
5858
//SYSTSPRT DD SYSOUT=*
5959
//SYSIN DD *
6060
*
@@ -78,7 +78,7 @@ exports[`BundleDeployer01 should generate deploy JCL for resgroup with timeout 1
7878
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
7979
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
8080
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
81-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
81+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
8282
//SYSTSPRT DD SYSOUT=*
8383
//SYSIN DD *
8484
*
@@ -104,7 +104,7 @@ exports[`BundleDeployer01 should generate undeploy JCL for csdgroup 1`] = `
104104
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
105105
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
106106
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
107-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
107+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
108108
//SYSTSPRT DD SYSOUT=*
109109
//SYSIN DD *
110110
*
@@ -122,7 +122,7 @@ exports[`BundleDeployer01 should generate undeploy JCL for csdgroup with timeout
122122
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
123123
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
124124
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
125-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
125+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
126126
//SYSTSPRT DD SYSOUT=*
127127
//SYSIN DD *
128128
*
@@ -141,7 +141,7 @@ exports[`BundleDeployer01 should generate undeploy JCL for resgroup 1`] = `
141141
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
142142
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
143143
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
144-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
144+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
145145
//SYSTSPRT DD SYSOUT=*
146146
//SYSIN DD *
147147
*
@@ -159,7 +159,7 @@ exports[`BundleDeployer01 should generate undeploy JCL for resgroup with timeout
159159
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
160160
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
161161
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
162-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
162+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
163163
//SYSTSPRT DD SYSOUT=*
164164
//SYSIN DD *
165165
*
@@ -178,7 +178,7 @@ exports[`BundleDeployer01 should support long bundledir 1`] = `
178178
"//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT
179179
//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M
180180
//STEPLIB DD DISP=SHR,DSN=12345678901234567890123456789012345.SDFHLOAD
181-
// DD DISP=SHR,DSN=12345678901234567890123456789012345.SEYUAUTH
181+
// DD DISP=SHR,DSN=abcde12345abcde12345abcde12345abcde.SEYUAUTH
182182
//SYSTSPRT DD SYSOUT=*
183183
//SYSIN DD *
184184
*

__tests__/cli/deploy/bundle/DeployBundle.handler.test.ts

Lines changed: 74 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,12 @@ describe("bundle Handler", () => {
288288
await testTimeoutError(0, "--timeout parameter is too small");
289289
});
290290
it("should complain with no cicshlq parameter", async () => {
291-
await testHLQError(undefined, "--cicshlq parameter is not set");
291+
await testCicsHLQError(undefined, "--cicshlq parameter is not set");
292292
});
293293
it("should complain with invalid type for cicshlq parameter", async () => {
294294

295295
const params = Object.assign({}, ...[DEFAULT_PARAMETERS]);
296-
setCommonParmsForHLQTests(params);
296+
setCommonParmsForCicsHLQTests(params);
297297
params.arguments.cicshlq = 7;
298298

299299
let err: Error;
@@ -308,10 +308,36 @@ describe("bundle Handler", () => {
308308
expect(err.message).toContain("--cicshlq parameter is not a string");
309309
});
310310
it("should complain with overlong cicshlq parameter", async () => {
311-
await testHLQError("123456789012345678901234567890123456", "--cicshlq parameter is too long");
311+
await testCicsHLQError("123456789012345678901234567890123456", "--cicshlq parameter is too long");
312312
});
313313
it("should complain with empty cicshlq parameter", async () => {
314-
await testHLQError("", "--cicshlq parameter is empty");
314+
await testCicsHLQError("", "--cicshlq parameter is empty");
315+
});
316+
it("should complain with no cpsmhlq parameter", async () => {
317+
await testCpsmHLQError(undefined, "--cpsmhlq parameter is not set");
318+
});
319+
it("should complain with invalid type for cpsmhlq parameter", async () => {
320+
321+
const params = Object.assign({}, ...[DEFAULT_PARAMETERS]);
322+
setCommonParmsForCpsmHLQTests(params);
323+
params.arguments.cpsmhlq = 7;
324+
325+
let err: Error;
326+
try {
327+
const handler = new DeployBundleHandler.default();
328+
await handler.process(params);
329+
} catch (e) {
330+
err = e;
331+
}
332+
expect(err).toBeDefined();
333+
expect(err).toBeInstanceOf(ImperativeError);
334+
expect(err.message).toContain("--cpsmhlq parameter is not a string");
335+
});
336+
it("should complain with overlong cpsmhlq parameter", async () => {
337+
await testCpsmHLQError("123456789012345678901234567890123456", "--cpsmhlq parameter is too long");
338+
});
339+
it("should complain with empty cpsmhlq parameter", async () => {
340+
await testCpsmHLQError("", "--cpsmhlq parameter is empty");
315341
});
316342
it("should complain with no jobcard parameter", async () => {
317343
await testJobcardError(undefined, "--jobcard parameter is not set");
@@ -377,6 +403,7 @@ function setCommonParmsForNameTests(parms: IHandlerParameters) {
377403
parms.arguments.csdgroup = undefined;
378404
parms.arguments.timeout = undefined;
379405
parms.arguments.cicshlq = undefined;
406+
parms.arguments.cpsmhlq = undefined;
380407
}
381408

382409
async function testNameError(name: string, result: string) {
@@ -406,6 +433,7 @@ function setCommonParmsForBundledirTests(parms: IHandlerParameters) {
406433
parms.arguments.csdgroup = undefined;
407434
parms.arguments.timeout = undefined;
408435
parms.arguments.cicshlq = undefined;
436+
parms.arguments.cpsmhlq = undefined;
409437
}
410438

411439
async function testBundledirError(bundledir: string, result: string) {
@@ -435,6 +463,7 @@ function setCommonParmsForProfileTests(parms: IHandlerParameters) {
435463
parms.arguments.csdgroup = undefined;
436464
parms.arguments.timeout = undefined;
437465
parms.arguments.cicshlq = undefined;
466+
parms.arguments.cpsmhlq = undefined;
438467
}
439468

440469
async function testProfileError(profile: string, result: string) {
@@ -464,6 +493,7 @@ function setCommonParmsForCicsplexTests(parms: IHandlerParameters) {
464493
parms.arguments.csdgroup = undefined;
465494
parms.arguments.timeout = undefined;
466495
parms.arguments.cicshlq = undefined;
496+
parms.arguments.cpsmhlq = undefined;
467497
}
468498

469499
async function testCicsplexError(cicsplex: string, result: string) {
@@ -493,6 +523,7 @@ function setCommonParmsForScopeTests(parms: IHandlerParameters) {
493523
parms.arguments.csdgroup = undefined;
494524
parms.arguments.timeout = undefined;
495525
parms.arguments.cicshlq = undefined;
526+
parms.arguments.cpsmhlq = undefined;
496527
}
497528

498529
async function testScopeError(scope: string, result: string) {
@@ -522,6 +553,7 @@ function setCommonParmsForCsdgroupTests(parms: IHandlerParameters) {
522553
parms.arguments.csdgroup = undefined;
523554
parms.arguments.timeout = undefined;
524555
parms.arguments.cicshlq = undefined;
556+
parms.arguments.cpsmhlq = undefined;
525557
}
526558

527559
async function testCsdgroupError(csdgroup: string, result: string) {
@@ -551,6 +583,7 @@ function setCommonParmsForResgroupTests(parms: IHandlerParameters) {
551583
parms.arguments.csdgroup = undefined;
552584
parms.arguments.timeout = undefined;
553585
parms.arguments.cicshlq = undefined;
586+
parms.arguments.cpsmhlq = undefined;
554587
}
555588

556589
async function testResgroupError(resgroup: string, result: string) {
@@ -580,6 +613,7 @@ function setCommonParmsForTimeoutTests(parms: IHandlerParameters) {
580613
parms.arguments.csdgroup = undefined;
581614
parms.arguments.timeout = undefined;
582615
parms.arguments.cicshlq = undefined;
616+
parms.arguments.cpsmhlq = undefined;
583617
}
584618

585619
async function testTimeoutError(timeout: number, result: string) {
@@ -599,7 +633,7 @@ async function testTimeoutError(timeout: number, result: string) {
599633
expect(err.message).toContain(result);
600634
}
601635

602-
function setCommonParmsForHLQTests(parms: IHandlerParameters) {
636+
function setCommonParmsForCicsHLQTests(parms: IHandlerParameters) {
603637
parms.arguments.name = "WIBBLE";
604638
parms.arguments.bundledir = "wibble";
605639
parms.arguments["cics-deploy-profile"] = undefined;
@@ -609,11 +643,12 @@ function setCommonParmsForHLQTests(parms: IHandlerParameters) {
609643
parms.arguments.csdgroup = undefined;
610644
parms.arguments.timeout = undefined;
611645
parms.arguments.cicshlq = undefined;
646+
parms.arguments.cpsmhlq = undefined;
612647
}
613648

614-
async function testHLQError(cicshlq: string, result: string) {
649+
async function testCicsHLQError(cicshlq: string, result: string) {
615650
const params = Object.assign({}, ...[DEFAULT_PARAMETERS]);
616-
setCommonParmsForHLQTests(params);
651+
setCommonParmsForCicsHLQTests(params);
617652
params.arguments.cicshlq = cicshlq;
618653

619654
let err: Error;
@@ -628,9 +663,39 @@ async function testHLQError(cicshlq: string, result: string) {
628663
expect(err.message).toContain(result);
629664
}
630665

631-
function setCommonParmsForJobcardTests(parms: IHandlerParameters) {
632-
setCommonParmsForHLQTests(parms);
666+
function setCommonParmsForCpsmHLQTests(parms: IHandlerParameters) {
667+
parms.arguments.name = "WIBBLE";
668+
parms.arguments.bundledir = "wibble";
669+
parms.arguments["cics-deploy-profile"] = undefined;
670+
parms.arguments.cicsplex = "Wibble";
671+
parms.arguments.scope = "wibblE";
672+
parms.arguments.resgroup = "wiBBle";
673+
parms.arguments.csdgroup = undefined;
674+
parms.arguments.timeout = undefined;
633675
parms.arguments.cicshlq = "WIBB.LE";
676+
parms.arguments.cpsmhlq = undefined;
677+
}
678+
679+
async function testCpsmHLQError(cpsmhlq: string, result: string) {
680+
const params = Object.assign({}, ...[DEFAULT_PARAMETERS]);
681+
setCommonParmsForCpsmHLQTests(params);
682+
params.arguments.cpsmhlq = cpsmhlq;
683+
684+
let err: Error;
685+
try {
686+
const handler = new DeployBundleHandler.default();
687+
await handler.process(params);
688+
} catch (e) {
689+
err = e;
690+
}
691+
expect(err).toBeDefined();
692+
expect(err).toBeInstanceOf(ImperativeError);
693+
expect(err.message).toContain(result);
694+
}
695+
696+
function setCommonParmsForJobcardTests(parms: IHandlerParameters) {
697+
setCommonParmsForCpsmHLQTests(parms);
698+
parms.arguments.cpsmhlq = "WI.BBLE";
634699
}
635700

636701
async function testJobcardError(jobcard: string, result: string) {

__tests__/cli/deploy/bundle/__snapshots__/DeployBundle.definition.test.ts.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { ScopeOption } from \\"../../shared/Scope.option\\";
2020
import { CsdgroupOption } from \\"../../shared/Csdgroup.option\\";
2121
import { ResgroupOption } from \\"../../shared/Resgroup.option\\";
2222
import { CicshlqOption } from \\"../../shared/Cicshlq.option\\";
23+
import { CpsmhlqOption } from \\"../../shared/Cpsmhlq.option\\";
2324
import { JobcardOption } from \\"../../shared/Jobcard.option\\";
2425
import { TimeoutOption } from \\"../../shared/Timeout.option\\";
2526
@@ -37,7 +38,7 @@ export const DeployBundleDefinition: ICommandDefinition = {
3738
type: \\"command\\",
3839
handler: __dirname + \\"/DeployBundle.handler\\",
3940
options: [ NameOption, BundledirOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption,
40-
CicshlqOption, JobcardOption, TimeoutOption],
41+
CicshlqOption, CpsmhlqOption, JobcardOption, TimeoutOption],
4142
profile: { required: [\\"zosmf\\"], optional: [\\"cics-deploy\\"] },
4243
examples: [
4344
{
@@ -51,7 +52,7 @@ export const DeployBundleDefinition: ICommandDefinition = {
5152
{
5253
description: \\"Deploy a CICS bundle to a specific target environment using a specific zosmf profile\\",
5354
options: \`--name EXAMPLE --bundledir /u/example/bundleDir --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP \` +
54-
\`--cicshlq CICSTS55 --zosmf-profile zprof\`
55+
\`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile zprof\`
5556
}
5657
]
5758
};

__tests__/cli/undeploy/bundle/__snapshots__/UndeployBundle.definition.test.ts.snap

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { ScopeOption } from \\"../../shared/Scope.option\\";
1919
import { CsdgroupOption } from \\"../../shared/Csdgroup.option\\";
2020
import { ResgroupOption } from \\"../../shared/Resgroup.option\\";
2121
import { CicshlqOption } from \\"../../shared/Cicshlq.option\\";
22+
import { CpsmhlqOption } from \\"../../shared/Cpsmhlq.option\\";
2223
import { JobcardOption } from \\"../../shared/Jobcard.option\\";
2324
import { TimeoutOption } from \\"../../shared/Timeout.option\\";
2425
@@ -35,7 +36,8 @@ export const UndeployBundleDefinition: ICommandDefinition = {
3536
\\"from the target group of CICS regions.\\",
3637
type: \\"command\\",
3738
handler: __dirname + \\"/UndeployBundle.handler\\",
38-
options: [ NameOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, CicshlqOption, JobcardOption, TimeoutOption],
39+
options: [ NameOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption,
40+
CicshlqOption, CpsmhlqOption, JobcardOption, TimeoutOption],
3941
profile: { required: [\\"zosmf\\"], optional: [\\"cics-deploy\\"] },
4042
examples: [
4143
{
@@ -48,7 +50,8 @@ export const UndeployBundleDefinition: ICommandDefinition = {
4850
},
4951
{
5052
description: \\"Undeploy a CICS bundle from a specific target environment using a specific zosmf profile\\",
51-
options: \`--name EXAMPLE --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP --cicshlq CICSTS55 --zosmf-profile zprof\`
53+
options: \`--name EXAMPLE --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP \` +
54+
\`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile zprof\`
5255
}
5356
]
5457
};

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Now create a cics-deploy profile. This profile will identify the target CICS env
120120

121121
For example, you might create the profile using the following command:
122122

123-
`zowe profiles create cics-deploy-profile example --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55 --resgroup BUNDGRP1`
123+
`zowe profiles create cics-deploy-profile example --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --resgroup BUNDGRP1`
124124

125125
You can now use cics-deploy to deploy a Bundle. You will need to know the name to be used for the Bundle, and the location in the Unix file system at which it can be found. For example, you might issue the following command:
126126

src/api/BundleDeploy/BundleDeployer.ts

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class BundleDeployer {
5050
const session = this.createZosMFSession();
5151

5252
// Check that the CICS dataset value looks valid and can be viewed
53-
this.checkHLQDatasets(session);
53+
await this.checkHLQDatasets(session);
5454

5555
// Generate some DFHDPLOY JCL
5656
const jcl = this.getDeployJCL();
@@ -74,7 +74,7 @@ export class BundleDeployer {
7474
const session = this.createZosMFSession();
7575

7676
// Check that the CICS dataset value looks valid and can be viewed
77-
this.checkHLQDatasets(session);
77+
await this.checkHLQDatasets(session);
7878

7979
// Generate some DFHDPLOY JCL
8080
const jcl = this.getUndeployJCL();
@@ -140,7 +140,7 @@ export class BundleDeployer {
140140
let jcl = this.params.arguments.jobcard + "\n" +
141141
"//DFHDPLOY EXEC PGM=DFHDPLOY,REGION=100M\n" +
142142
"//STEPLIB DD DISP=SHR,DSN=" + this.params.arguments.cicshlq + ".SDFHLOAD\n" +
143-
"// DD DISP=SHR,DSN=" + this.params.arguments.cicshlq + ".SEYUAUTH\n" +
143+
"// DD DISP=SHR,DSN=" + this.params.arguments.cpsmhlq + ".SEYUAUTH\n" +
144144
"//SYSTSPRT DD SYSOUT=*\n" +
145145
"//SYSIN DD *\n" +
146146
"*\n" +
@@ -177,16 +177,29 @@ export class BundleDeployer {
177177
private async checkHLQDatasets(session: Session) {
178178
// Check that the CICS dataset value looks valid and can be viewed
179179
// Access errors will trigger an Exception
180-
const pds = this.params.arguments.cicshlq + ".SDFHLOAD";
180+
const cicspds = this.params.arguments.cicshlq + ".SDFHLOAD";
181181
let listResp;
182182
try {
183-
listResp = await List.allMembers(session, pds, {});
183+
listResp = await List.allMembers(session, cicspds, {});
184184
}
185185
catch (error) {
186186
throw new Error("Validation of --cicshlq dataset failed: " + error.message);
187187
}
188188
if (JSON.stringify(listResp).indexOf("DFHDPLOY") === -1) {
189-
throw new Error("DFHDPLOY not found in SDFHLOAD within the --cicshlq dataset: " + pds);
189+
throw new Error("DFHDPLOY not found in SDFHLOAD within the --cicshlq dataset: " + cicspds);
190+
}
191+
192+
// Check that the CPSM dataset value looks valid and can be viewed
193+
// Access errors will trigger an Exception
194+
const cpsmpds = this.params.arguments.cpsmhlq + ".SEYUAUTH";
195+
try {
196+
listResp = await List.allMembers(session, cpsmpds, {});
197+
}
198+
catch (error) {
199+
throw new Error("Validation of --cpsmhlq dataset failed: " + error.message);
200+
}
201+
if (JSON.stringify(listResp).indexOf("EYU9ABSI") === -1) {
202+
throw new Error("EYU9ABSI not found in SEYUAUTH within the --cpsmhlq dataset: " + cpsmpds);
190203
}
191204
}
192205

0 commit comments

Comments
 (0)