Posted: Mon May 06, 2013 5:12 pm Post subject: Copying Vsam contents into a flat file based on the key cond
I want to copy the records from a VSAM into a flatfile based on the key condition, I want to use the repro commamnd could u pls suggest me any suitable method.
eg: key field
output should contain only
78ab93909 the third n fourth position of the key should be compared.
One more thing, I just came across commands such as INCCHAR and INCREL, which exactly does wat I want,but this parameter should be used only with CPYF command.So could any one tell me whether this CPYF (copy file)command be used in JCL,If it could be used what shoud be PGM=
We already have a JCL which extracts records based on key field character using repro fromkey tokey, I need to add two more comparison valueS to the key field, I mean totally three key field values to be picked up from the whole of VSAM.For that I might need to use fromkety tokey three times.So wanted to know whether i can use the CPYF command along with INCCHAR and INCREL.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum