IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem in IEBCOPY: INPUT VALIDATION ERROR


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Wed Jun 13, 2007 4:32 pm
Reply with quote

Hi All,
I have faced very surprizing result when I am trying to copy a PS into another using IEBCOPY. Input dataset has LRECL of 400 and it is FB. Corresponding JCL is like -

Code:

//JSTEP002 EXEC PGM=IEBCOPY                                 
//         ACCT='SERIES 2 : COPIES THE PROD VERSION TO TEST'
//INPUT1   DD DSN=SYSPGRP.MBRF.TPRLSCMJ.LSW525.T0J,DISP=SHR
//OUTPUT1  DD DSN=SYSPGRP.GPL1.TPRLSCMJ.LSW525.T0J,
//         DISP=(NEW,CATLG,DELETE),                 
//         SPACE=(CYL,(10,5),RLSE),                 
//         DCB=(RECFM=FB,LRECL=400,BLKSIZE=0)       
//SYSIN DD *                       
    COPY INDD=INPUT1,OUTDD=OUTPUT1
/*


But this step is giving the following error in the sysprint -
Code:

1                                         IEBCOPY MESSAGES AND CONTROL STATEMENTS
-IEB1135I IEBCOPY  FMID HDZ11G0  SERVICE LEVEL UA08612  DATED 20040202 DFSMS 01.03.00 z/OS    01.04.00 HBB7707  CPU 2096 
 IEB1035I XA2CJCVS  JSTEP002 06:00:26 WED 13 JUN 2007 PARM=''                   
-    COPY INDD=INPUT1,OUTDD=OUTPUT1                                             
 IEB1128I *** COPYR1 (1ST PDSU PHYSICAL RECORD)                                                                           
   009400 0000  C1D7C5E7 40C2C4C1 C4C44040 40404040  |APEX BDADD      |                                                   
   009410 0010  40404040 40404040 40404040 F0F0F1F6  |            0016|                                                   
   009420 0020  F2F4F6F1 F1F5F9F1 F6F9F2F1 F2F840F8  |24611591692128 8|                                                   
   009430 0030  E6F9F3F4 4040F140 40404040 40404040  |W934  1         |                                                   
   009440 0040  7F000000 80807FF8 00008800 0011F000  |"   ??"8  h   0 |                                                   
   009450 0050  000068F0 00006BD0 02000000 00009440  |  ?0  ,}      m |                                                   
   009460 0060  00006920 0C001428 00006918 00008800  |  ?       ?   h |                                                   
   009470 0070  00000000 00000000 0000001A C3000000  |            C   |                                                   
   009480 0080  0611F000 20007FF8 00000000 00000000  |  0   "8        |                                                   
   009490 0090  00000000 00000000 00000000 00000000  ||                                                                   
 IEB120I INPUT1   VALIDATION ERROR                                                                                       
 IEB178I NOT AN IEBCOPY UNLOADED DATA SET - 1ST PHYSICAL RECORD NOT 64 BYTES LOG - ACTUAL VALUE IS X'006BD0'             
 IEB1030I DDNAME INPUT1   REFERS TO PDSU DATA SET ON VOLUME Y2VK76 NAMED SYSPGR.MBRF.TPRLSCMJ.LSW525.T0J                 
 IEB166I NO MEMBERS COPIED TO DATA SET REFERENCED BY OUTPUT1                                                             
-    COPY INDD=INPUT2,OUTDD=OUTPUT2                                                           


I want to know why this kind of situation happens and I am not being able to copy the dataset?

Please help me out ...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 13, 2007 4:34 pm
Reply with quote

IEBCOPY is for PO datasets, not PS datasets.

Use IEBGENER or DFSORT
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Wed Jun 13, 2007 4:47 pm
Reply with quote

Don't mind Expat! I think we can also use IEBCOPY for PS! Is it not? Then please tell me one thing - I just want to copy 7 input files into 7 output files. E.g. - I am having input files - A,B,C,D,E,F and G and I want copy A to A1, B to B1, C to C1, D to D1, E to E1, F to F1 and G to G1. I don't want to overlay data of any two input file into one output file.
This task I want to do in a single JCL step. Is it possible to do that? I am looking for your opinion.

Regards,

Amitava
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 13, 2007 4:52 pm
Reply with quote

Quote:
I think we can also use IEBCOPY for PS!

No you can not use IEBCOPY for a PS dataset.

You can do all 7 files in one step using ICETOOL / ICEGENER.

You could also set up a PROC to perform the copy and execute it 7 times within the same job.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Jun 13, 2007 4:56 pm
Reply with quote

Amitava,

Refer the following link -

publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zsysprog.doc/zsysprog_65.html

Also please post the JCL if you succesfully copy PS to PS using IEBCOPY. It will be learning experience for us.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Wed Jun 13, 2007 5:06 pm
Reply with quote

Hey Expat, can you please provide me some link to look into ICETOOL or ICEGENER (If it does not come under licensed product version). Actually I have not used ICETOOL or ICEGENER before.

Looking for your help...

Regards,

Amitava
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Jun 13, 2007 5:08 pm
Reply with quote

Amitava,

Quote:
can you please provide me some link to look into ICETOOL or ICEGENER


If you are looking for material, links are available in the DFSORT forum with in this site.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 13, 2007 5:15 pm
Reply with quote

Here are the links to ICETOOL which if I recall contains ICEGENER, and for IEBGENER too.

http://www-304.ibm.com/jct01004c/systems/support/storage/software/sort/mvs/icetool/index.html

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/6.0?DT=19990113105507
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Wed Jun 13, 2007 6:03 pm
Reply with quote

Oh, Thanks murmohk1 and Expat; thanks a lot! I had already checked IEBGENER to use for my purpose but I am not getting what should be my control statement then - I mean what will be my SYSIN card will be?

And the bad news is my mainframe does not have DFSORT and it is using SYSNCORT so I cann't use ICETOOL then. I tried but the job abended naturally.

Regards,

Amitava
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Jun 13, 2007 7:19 pm
Reply with quote

Hi,

Try using SYNCTOOL & let us know the sysout messages if it abends or doesn't serve your purpose.

By the way, for SYNCSORT sites, if you code ICETOOL in your JOBs it behaves as an alias & in back-end SYNCTOOL is invoked. So, if you'll provide the JCL & SYSOUT messages we can come up with some better suggestions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top