Opened 8 years ago

Last modified 8 years ago

#7786 new Bug report

renaming of library / pds members on z/OS

Reported by: Alex Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: usselmann.m@…
Component version: Operating system type:
Operating system version:

Description

I tried to rename MDCT.PROD.C(TTR249) to MDCT.PROD.C(TTR249O2). Below is log with error need to be fixed (output name is incorrect).

Command: PWD
Response: 257 "'MDCT.PROD.C'" partitioned data set is working directory.
Status: Renaming MDCT.PROD.C(TTR249) to MDCT.PROD.C.TTR249O2
Command: RNFR 'MDCT.PROD.C(TTR249)'
Response: 350 RNFR accepted. Please supply new name for RNTO.
Command: RNTO 'MDCT.PROD.C.TTR249O2'
Response: 550 Cannot rename from partitioned data set MDCT.PROD.C(TTR249) to a different partitioned data set MDCT.PROD.C.TTR249O2.

Change History (2)

comment:1 Changed 8 years ago by Alex

Summary: remaning of dataset on z/OSrenaming of dataset on z/OS

comment:2 Changed 8 years ago by Manfred Usselmann

Cc: usselmann.m@… added
Summary: renaming of dataset on z/OSrenaming of library / pds members on z/OS

I just had the same issue: 550 Cannot rename from partitioned data set HLQA.JOB.LIB(XXX) to a different partitioned data set HLQA.JOB.LIB.YYY.

The original title was not quite right. We try to rename a *member of a library* (pds / partitioned dataset), not a dataset.
Fillezilla has issues in other cases as well to distinguish between libraries (partitioned datasets) and datasets (files).
In my case HLQA.JOB.LIB.YYY is a valid file name as well, but we can't rename a member into a dataset name, therefore the rename fails. The new name needs to be specified as HLQA.JOB.LIB(YYY) --> member YYY of library HLQA.JOB.LIB .

In listings Fillezilla should (but does not) show all files starting with
HLQA.JOB.LIB. and all members for HLQA.JOB.LIB

E.G.

HLQA.JOB.LIB.FILEA
HLQA.JOB.LIB.FILEB
HLQA.JOB.LIB.FILEC.X001
HLQA.JOB.LIB.FILEC.X002
HLQA.JOB.LIB(MEMBER1)
HLQA.JOB.LIB(MEMBER2)
HLQA.JOB.LIB(MEMBER3)

The first two datasets will be listed with
HLQA.JOB.LIB. (dot at the end)
and the three members with
HLQA.JOB.LIB (no dot at the end)

Note: See TracTickets for help on using tickets.