View previous topic :: View next topic
|
Author |
Message |
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Hi all,
I'm running a JCL to query the ENDEVOR details using below
Code: |
//ENDVRJCL JOB USER,'NDVR LIST JOB',CLASS=A,MSGCLASS=A,
// REGION=4M,NOTIFY=&SYSUID
//ENBE1000 EXEC PGM=NDVRC1,PARM='C1BM3000',REGION=0K
//C1MSGS1 DD SYSOUT=*
//C1MSGS2 DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//BSTIPT01 DD *
LIST ELEMENT 'AABBMM'
FROM ENVIRONMENT 'PRD'
SYSTEM 'XP'
SUBSYSTEM 'XP'
TYPE 'COBOL'
STAGE 'P'
/* |
I get a MAXCC = 12 below is the listing
Code: |
STATEMENT #1
LIST ELEMENT 'AABBMM'
FROM ENVIRONMENT 'PROD'
SYSTEM 'XP'
SUBSYSTEM 'XP'
TYPE 'COBOL'
STAGE 'P'
BSTPPARS: E004 INVALID COMMAND WORDING, FOUND: <END OF LINE>
C1BM4100: E031 NO ACTION REQUESTS WERE GENERATED
01:36:32 C1Y0014E ERROR ENCOUNTERED WHEN PARSING SYNTAX. PROCESSING
END OF EXECUTION LOG - HIGHEST ENDEVOR RC = 0012
|
can you please suggest me in modifying this JCL the changes required so that i can customize. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What does the examples in the manual show regarding syntax.
Have you asked a peer for a job that currently works. |
|
Back to top |
|
|
Bharath Bhat
Active User
Joined: 20 Mar 2008 Posts: 283 Location: chennai
|
|
|
|
I guess it should have a period at the end of the statement. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
I think you have to remove FROM from :
FROM ENVIRONMENT 'PROD' |
|
Back to top |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Thanks all,
It worked by using a period at the end of the statement.
Code: |
//ENDVRJCL JOB USER,'NDVR LIST JOB',CLASS=A,MSGCLASS=A,
// REGION=4M,NOTIFY=&SYSUID
//ENBE1000 EXEC PGM=NDVRC1,PARM='C1BM3000',REGION=0K
//C1MSGS1 DD SYSOUT=*
//C1MSGS2 DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//BSTIPT01 DD *
LIST ELEMENT 'AABBMM'
FROM ENVIRONMENT 'PROD'
SYSTEM 'XP'
SUBSYSTEM 'XP'
TYPE 'COBOL'
STAGE 'P'. |
|
|
Back to top |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
When i submit the above JCL I'm getting a MAXCC =12 with the below message.
Code: |
UNABLE TO MATCH SYSTEM XP IN ENVIRONMENT PROD
|
is it any other way to specify the SYSTEM parametr as |
|
Back to top |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Actually my requirement is to attain the version details of the element from the PRDN region.
You might suggest me as to go from the PDS listing options to get the version details of an element,but the PRDN PDS does not hold any of the parameters.
So,the only way i could find the version details is to retrieve from the Endevor.
As i have approached with the above JCL i'm unable to retrieve the minimal details. |
|
Back to top |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
sorry all for troubling.
the JCL ran fine now with the proper SYSTEM
Code: |
//ENDVRJCL JOB USER,'NDVR LIST JOB',CLASS=A,MSGCLASS=A,
// REGION=4M,NOTIFY=&SYSUID
//ENBE1000 EXEC PGM=NDVRC1,PARM='C1BM3000',REGION=0K
//C1MSGS1 DD SYSOUT=*
//C1MSGS2 DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//BSTIPT01 DD *
LIST ELEMENT 'AABBMM'
FROM ENVIRONMENT 'PRD'
SYSTEM 'XP'
SUBSYSTEM 'XP'
TYPE 'COBOL'
STAGE 'P'. |
The SYSTEM was to given as PROD instead of PRD. |
|
Back to top |
|
|
|