jcl interview question

jcl interview questions

Moderator: Moderator Group

Post Reply
anvesh.malladi
Member
Posts: 4
Joined: Sun Jun 19, 2011 10:56 am

jcl interview question

Post by anvesh.malladi » Sun Jun 19, 2011 11:06 am

How to convert Flat file to VSAM file?It is two step or one step process?What utilities are used to do ?

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Sun Jun 19, 2011 4:21 pm

when you say convert, what exactly do you mean?

both IDCAMs REPRO
and DFSORT (probably syncsort, also)
can input an qsam (flat) file image, which is the same image as the vsam RECORD
and output/write to the VSAM file.

it would be a 3 step process:
  • define the vsam file - idcams
  • create the qsam file
  • use one of the utilites mentioned above to read the qsam and write to the vsam
i would advise you to download and read:

IDCAMS Manual

VSAM Demystified an IBM Redbook.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

anvesh.malladi
Member
Posts: 4
Joined: Sun Jun 19, 2011 10:56 am

Post by anvesh.malladi » Sun Jun 19, 2011 10:30 pm

Thank you

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others