View previous topic :: View next topic |
Author |
Message |
nbdtrjk1 Beginner
Joined: 12 Apr 2007 Posts: 76 Topics: 41
|
Posted: Thu May 22, 2008 7:40 am Post subject: Help on SYNCTOOL |
|
|
I have a JCL to Copy from Tape to DASD.
Code: | [//CPYIBNR EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=($,,STAN)
//DFSMSG DD SYSOUT=($,,STAN)
//INDD DD DSN=FFDT.STR003.AR.BUS.FIND.BKP.G0001V00,DISP=SHR
//OUTDD DD DSN=NBDTRJK.IDS.TEST.FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(500,500),RLSE),
// DCB=(RECFM=FB,LRECL=1000)
//TOOLIN DD *
COPY FROM(INDD) TO(OUTDD)
/* |
execution of the above JCL i am getting below error msg
OPTION RESINV=0,ARESINV=0,MSGDDN=DFSMSG,SORTIN=INDD,SORTOUT=OUTDD,COPY
WER428I CALLER-PROVIDED IDENTIFIER IS "0001"
WER276B SYSDIAG= 0, 1491615, 1491615, 4144001
WER164B 10,840K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1,004K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER141A INDD RECFM IS U
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Help needed |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 22, 2008 7:44 am Post subject: |
|
|
Your INDD dataset has a RECFM of U but you are specifying FB for your output dataset with no control cards to edit the data.
If you want to do a straight copy the leave off the RECFM and LRECL parameters (and you do not need DCB= anyway). Or you could use IEBGENER, same points apply. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
nbdtrjk1 Beginner
Joined: 12 Apr 2007 Posts: 76 Topics: 41
|
Posted: Thu May 22, 2008 7:49 am Post subject: |
|
|
I removed DCB Parameter, but result was same.
Is Control card mandatory to copy the data from one file to another file using ICETOOL? |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 22, 2008 7:54 am Post subject: |
|
|
Did you also remove RECFM and LRECL? Did you try IEBGENER? What sort of data is on the tape? What program created the tape? If it was ADRDSSU then you should use that to copy the tape to DASD - IEBGENER may or may not work with a dump tape. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
amargulies Beginner
Joined: 10 Jan 2007 Posts: 123 Topics: 0
|
Posted: Thu May 22, 2008 10:15 am Post subject: |
|
|
Quote: | WER141A INDD RECFM IS U |
SyncSort does not support undefined record format for input or output files. _________________ Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com |
|
Back to top |
|
 |
nbdtrjk1 Beginner
Joined: 12 Apr 2007 Posts: 76 Topics: 41
|
Posted: Thu May 22, 2008 11:09 pm Post subject: |
|
|
I tried SYNCSORT and IEBGENER but result was same.
Below Error Msg for SYNCSORT
Code: | WER164B 0 BYTES RESERVE REQUESTED, 1,004K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER141A SORTIN RECFM IS U
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE |
Below Error Msg for IEBGENER
Code: | DATA SET UTILITY - GENERATE
IEB311I CONFLICTING DCB PARAMETERS |
we got a file from some other system via NDM. we don't know how they created tape entry. This file contains production records. |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Thu May 22, 2008 11:13 pm Post subject: |
|
|
Did you read Alissa's post? _________________ ....Terry |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Fri May 23, 2008 3:18 am Post subject: |
|
|
To get that error in IEBGENER you must be specifying a RECFM on SYSUT2.
Seems you should ask them to re-send the file with the correct LRECL specified. How you do this I do not know as I have not used NDM but the manual should tell you. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
|
|