If you have IBM File Manager you can read the file using FM and give it the
copy book as a template.

Otherwise, you will need to perform an IDCAMS PRINT DUMP command and work
out the contents from the copy book lay out and the dump format content.

//DUMP EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//FILEIN DD DISP=SHR,DSN=YOUR.VSAM.FILE
//SYSIN DD *
 PRINT IDS(FILEIN) DUMP
/*

Might be quicker for you to post the copy book here and a couple of dump
format records and we can help you with Decimal field interpretation etc.




On Mon, Feb 24, 2014 at 4:23 AM, Ron Thomas <[email protected]> wrote:

> Hello. I am new to assembler so not sure whether i am asking the right
> query? We have a assembler copybook and the corresponding file is a VSAM
> KSDS. could someone let me know how to view the data in the file using this
> copybook ?
>
> Thanks
> Ron T
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
Wayne V. Bickerdike

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to