View previous topic :: View next topic
|
Author |
Message |
Narendra Bade
New User
Joined: 12 Oct 2010 Posts: 13 Location: Pune
|
|
|
|
I want to list output of 2 compared file in PS file , bur I got JCL error "5 IEFC624I INCORRECT USE OF PERIOD IN THE SYSOUT FIELD"
if I use outdd dd sysout=* then output is getting written in spool , but how I can write output in file.please look below jcl.
Code: |
000001 //SUPERCS JOB ('A123',NAREN),NOTIFY=&SYSUID
000002 //SUPERC EXEC PGM=ISRSUPC,
000003 // PARM=(DELTAL,LINECMP,
000004 // '',
000005 // '')
000006 //NEWDD DD DSN=NAREN.TESTING.JCL(COPYPS),
000007 // DISP=SHR
000008 //OLDDD DD DSN=NAREN.TESTING.JCL(COPYPST),
000009 // DISP=SHR
000010 //OUTDD DD SYSOUT=DXY7B.NAREN.TEST.YTH
000011 //SYSIN DD *
000012 LSTCOLM 1:80
000013 CMPCOLM 1:80
000014 /*
000015 // |
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
why are you using the word SYSOUT in the dd statement.
If you want OUTDD to go to a dataset, use the appropriate DD parameters to allocate a dataset.
e.g. DSN=...,DISP...,SPACE...,DCB... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Narendra -- Dick hit the nail on the head and I realized this when I edited your post to add BBcode. |
|
Back to top |
|
|
Narendra Bade
New User
Joined: 12 Oct 2010 Posts: 13 Location: Pune
|
|
|
|
000001 //SUPERCS JOB ('A123',NAREN),NOTIFY=&SYSUID
000002 //SUPERC EXEC PGM=ISRSUPC,
000003 // PARM=(DELTAL,LINECMP,
000004 // '',
000005 // '')
000006 //NEWDD DD DSN=NAREN.TESTING.JCL(COPYPS),
000007 // DISP=SHR
000008 //OLDDD DD DSN=NAREN.TESTING.JCL(COPYPST),
000009 // DISP=SHR
000010 //OUTDD DD DSN=DXY7B.NAREN.TEST.YTH
000011 //SYSIN DD *
000012 LSTCOLM 1:80
000013 CMPCOLM 1:80
000014 /*
000015 //
AND IT WORKED!!!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
and all this without having read a single line in the manuals |
|
Back to top |
|
|
Narendra Bade
New User
Joined: 12 Oct 2010 Posts: 13 Location: Pune
|
|
|
|
No , I read but i didn't get exact solution. |
|
Back to top |
|
|
|