Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Comparing 2 files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Narendra Bade

New User


Joined: 12 Oct 2010
Posts: 13
Location: Pune

PostPosted: Wed Oct 13, 2010 2:01 pm    Post subject: Comparing 2 files
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Wed Oct 13, 2010 2:52 pm    Post subject: Reply to: Comparing 2 files
Reply with quote

what about looking Yourself at the syntax and parameters of the DD jcl statement icon_question.gif icon_evil.gif

the link to the jcl manuals is at the top of the page or

z/OS V1R6.0-V1R10.0 MVS JCL User's Guide
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B540/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7598-04&DT=20040712160458

z/OS V1R10.0 MVS JCL Reference
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B680/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7597-12&DT=20080604022956

the error is so simple that You should not have any issues finding out by Yourself

also the topic how to route a <sysout> to a plain PS dataset has been discussed quite a few times around here

edited to add the link to the ISPF manuals

here You will find all You might want to know about ISPF and friends
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM70
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Oct 13, 2010 2:53 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 13, 2010 3:10 pm    Post subject:
Reply with quote

Narendra -- Dick hit the nail on the head and I realized this when I edited your post to add BBcode.
Back to top
View user's profile Send private message
Narendra Bade

New User


Joined: 12 Oct 2010
Posts: 13
Location: Pune

PostPosted: Wed Oct 13, 2010 6:28 pm    Post subject: Comparing two files and write output in PS file
Reply with quote

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!!!! icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Wed Oct 13, 2010 6:41 pm    Post subject: Reply to: Comparing 2 files
Reply with quote

and all this without having read a single line in the manuals icon_cool.gif
Back to top
View user's profile Send private message
Narendra Bade

New User


Joined: 12 Oct 2010
Posts: 13
Location: Pune

PostPosted: Wed Oct 13, 2010 6:44 pm    Post subject:
Reply with quote

No , I read but i didn't get exact solution.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us