View previous topic :: View next topic |
Author |
Message |
senthilssg Beginner

Joined: 19 Jan 2006 Posts: 4 Topics: 4
|
Posted: Mon Apr 02, 2007 12:40 am Post subject: Problem with UNTERSE using TRSMAIN |
|
|
Hi all ,
I am facing problem with unterse using TRSMAIN .
Packed dataset was FTP- ed to mainframe to one dataset with DCB ( RECFM=FB,LRECL=1024 and BLKSIZE=6144) .
After that, I tried with unpack of the above packed datasest using TRSMAIN with UNPACK option . After successful execution of the above job , the output file was created with following DCB : RECFM=VS,LRECL= 27940 and BLKSIZE=27936 ) .
I am not able to read /access the output dataset (which having RECFM as VS)
Observations from my side
1. I tried to preallocate output dataset with RECFM as FB . but UNPACK was failed with fololowing error (RC=16 )
Code: |
**** STARTING TERSE DECODE UNPACK 4.14 10:57:43 4/02/07 ****
FOR INPUT - DDNAME: INFILE DSNAME: IBM.HABI910.F2.TERSED
FOR OUTPUT - DDNAME: OUTFILE DSNAME: IBM.HABI910.F2
** ERROR: OUTPUT FILE HAS FIXED RECORDS AND THE ORIGINAL FILE HAD VARIABLE RECORDS.
**** FINISHED TERSE DECODE UNPACK 4.14 10:57:43 4/02/07 ****
RETURN CODE: 16
|
Note:
Code: |
**** STARTING TERSE DECODE UNPACK 4.14 11:00:00 4/02/07 ****
FOR INPUT - DDNAME: INFILE DSNAME: IBM.HABI910.F2.TERSED
FOR OUTPUT - DDNAME: OUTFILE DSNAME: IBM.HABI910.F2
THE VALUES ARE: BLKSIZE= 27940 LRECL=27936 PACKTYPE=PACK RECFM=VARIABLE
**** FINISHED TERSE DECODE UNPACK 4.14 11:00:00 4/02/07 ****
RETURN CODE: 0 |
Can you please pass some light on this and find out where problem lies .
Kindly let me know if u want further input regarding this.
Thanks in advance
Thanks & Regards
Senthil K |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Apr 02, 2007 2:19 am Post subject: |
|
|
What format is the output dataset suppose to be, kind of sounds like it is a adrdssu dataset. You need to get the information about the original dataset before it was tersed. |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Apr 02, 2007 8:40 am Post subject: |
|
|
It also might be an IEBCOPY unloaded file for recreating a PDS. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Apr 09, 2007 9:13 am Post subject: |
|
|
From the name of the file it sounds like a relfile for SMP/e and it should end up being a PO dsorg with recfm U. Did IBM send this to you? IF IBM sent it then they should provide instructions. Or are you sending it from one system to another? If you are sending it then I'd XMIT the original PDS to a flat file and then FTP (binary) it to the other system, then RECEIVE it to convert it back from a flat file to a PDS. |
|
Back to top |
|
 |
|
|