Ever thought about adding elements to endevor using REXX? Actually, it can be easily done just by following simple steps given below.
i. Having the following information in hand before starting with the REXX.
1. Elements types you wish to add in endevor using REXX?
2. Compiler types for the elements you wish to add.
3. Your stages, strangs and your application region in endevor.
ii. Setup a jcl skeleton for the endevor job.
iii. identify the sysin command you need to pass to the endevor job because these commands must be dynamically generated in the REXX.
iv. provide mapping for compiler type and the elements you wish to add so that it is simpler for the people who are using the tool. For example: Cobol would be mapping to a compiler type like C02NB00.
v. define what are the parameters to be passed for the REXX. My suggestion would be collect the element type, stage and strang. For example: REXXNAME cobol U pb.
here REXXNAME is your tool name
cobol is your element type
U is your stage
pb is your strang.
vi. first validate if the provided type, stage and strang are valid types.
vii. if not, please display a message with the valid types and exit the macro.
viii. if yes, then generate the sysin card for the endevor job in a stem.
viii. then write the stem in a pds member.
ix. pass the pds member as dynamic parameter to the prepared jcl skeleton.
x. then submit the job.
Congratulations! You have created a tool to add elements to endevor.
i. Having the following information in hand before starting with the REXX.
1. Elements types you wish to add in endevor using REXX?
2. Compiler types for the elements you wish to add.
3. Your stages, strangs and your application region in endevor.
ii. Setup a jcl skeleton for the endevor job.
iii. identify the sysin command you need to pass to the endevor job because these commands must be dynamically generated in the REXX.
iv. provide mapping for compiler type and the elements you wish to add so that it is simpler for the people who are using the tool. For example: Cobol would be mapping to a compiler type like C02NB00.
v. define what are the parameters to be passed for the REXX. My suggestion would be collect the element type, stage and strang. For example: REXXNAME cobol U pb.
here REXXNAME is your tool name
cobol is your element type
U is your stage
pb is your strang.
vi. first validate if the provided type, stage and strang are valid types.
vii. if not, please display a message with the valid types and exit the macro.
viii. if yes, then generate the sysin card for the endevor job in a stem.
viii. then write the stem in a pds member.
ix. pass the pds member as dynamic parameter to the prepared jcl skeleton.
x. then submit the job.
Congratulations! You have created a tool to add elements to endevor.
No comments:
Post a Comment