Hello,

I have the following problem when running the IBM utility TRSMAIN the 
UNPACK option, which always returns a RC = 8.

The job of creating the compressed file by TERS is as follows:

/ / EXEC PGM = TRSMAIN STEP0010, PARM = PACK
/ / SYSPRINT DD SYSOUT =*, DCB = (LRECL = 133, BLKSIZE = 12 901, RECFM 
= FBA)
/ / INFILE DD DSN = FILE.PDS, DISP = SHR
/ / OUTFILE DD DSN = NOSMS.FILE.PDS, DISP = (NEW, CATLG, DELETE)
/ / UNIT = 3390, SPACE = (CYL, (100,100), RLSE), VOL = SER = Work
/ / *

The job runs and ends correctly via FTP "binary" is transmitted to a Windows 
server.

>From another cpu first thing I do is run IND $ FILE file with the parameters 
LRECL, BLKSIZE, in "binary" to a sequential file: FB, LRECL 1024, BLKSIE 6144. 
I have to run IND $ FILE as well confgurado I have no FTP on the second cpu.

Run the following TRSMAIN with the option UNPACK:

/ / EXEC PGM = TRSMAIN STEP0010, PARM = UNPACK
/ / SYSPRINT DD SYSOUT =*, RECFM = FBA, LRECL = 133
/ / INFILE DD DSN = NOSMS.FILE.PDS, DISP = SHR
/ / OUTFILE DD DSN = FILE.PDS.CPU2, DISP = (NEW, CATLG, DELETE)
/ / UNIT = SYSDA, SPACE = (CYL, (10,10), RLSE)
/ / *

The result is the following:

**** STARTING TERS 8/30/10 14:45:55 DECODE UNPACK 4.14 ****
FOR INPUT - DDNAME: INFILE DSNAME: NOSMS.FILE.PDS
** ERROR: THIS IS NOT A TERS Recognize DATASET.
FINISHED **** TERS 8/30/10 14:45:55 DECODE UNPACK 4.14 ****
RETURN CODE: 8

The environment is Z / OS 1.6.

Someone can help me with the error? I tried to load both "ascii" as in "binary" 
with diferntes block lengths and registration, but always ends with RC = 08 
UNPACK TRSMAIN.

Thank you very much

Fran

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to