View previous topic :: View next topic
|
Author |
Message |
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Hi,
I have a JCL like the below one...
Code: |
//TEST EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSMDUMP DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DB2D)
-DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*)
END
//*---------------------------------------------NEED TO COMMENT HERE
DSN SYSTEM(DB2M)
-DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*)
END
//*---------------------------------------------NEED TO COMMENT HERE
DSN SYSTEM(DB2Q)
-DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*)
END
/* |
When i executed it, i am able to see only the results of below command,not the other two.
Code: |
DSN SYSTEM(DB2D)
-DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*)
END |
In JESJCL output is like below,
Code: |
//****************************************************************
2 //TEST EXEC PGM=IKJEFT01
3 //SYSTSPRT DD SYSOUT=*
4 //SYSPRINT DD SYSOUT=*
5 //SYSABEND DD SYSOUT=*
6 //SYSUDUMP DD SYSOUT=*
7 //SYSMDUMP DD SYSOUT=*
8 //SYSTSIN DD *
//*---------------------------------------------NEED TO COMMENT HERE
9 //SYSIN DD * GENERATED STATEMENT
//*---------------------------------------------NEED TO COMMENT HERE
10 //SYSIN DD * GENERATED STATEMENT |
Can you please tell me how comment particular lines in SYSTSIN...
Thank You,
Sushanth |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
only a guess, can't find it in the manual, though the manual says
SYSTSIN consists of - comments
- commands
- subcommands
try the same as a db2 comment in spufi -- (two hypens)
the // in cols 1 & 2 are jes command indicators and as such,
delimit your instream SYSTSIN data. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I would try a /* */ starting in column 2 or later, ending by column 71. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Thank You Very Much Dino & Robert.
/* */ Works
Code: |
//TEST EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSMDUMP DD SYSOUT=*
//SYSTSIN DD *
/* -- DSN SYSTEM(DB2M) */
/* -- -DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*) */
/*-- END */
/* DSN SYSTEM(DB2M)
DSN SYSTEM(DB2D)
-DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*)
END
|
Also i found that, i don't get any error messages if i leave */
Code: |
READY
/* -- DSN SYSTEM(DB2M) */
READY
/* -- -DISPLAY DATABASE(BOBT1) SPACENAM(*) LIMIT(*) */
READY
/*-- END */
READY
READY
/* DSN SYSTEM(DB2M)
READY
|
Can you tell me the link where i can find info regarding SYSTSIN
Sushanth |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Check the TSO manual. Actually, the DD name SYSTSIN is, by itself, almost meaningless. What is important is that you are executing IKJEFT01, which is the main TSO program. So the DD names and options are going to be found in the TSO manuals. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Found It... Thank You Robert.
Sushanth |
|
Back to top |
|
|
|