Page 1 of 1

A question about IEBDG

PostPosted: Sat Apr 20, 2013 12:23 pm
by Mehdi shri
Dear friends.
I want to create a QSAM file for testing. In my QSAM file any field has special fomat and must be limited value.
For exapmle a 8 byte filed must contain date value that must be in range 20120101 to 20131230 increamentally.
How I can provide sequense for date field by using INDEX,CYCLE control statement so it not passed over the rully value for year,month&day.

Re: A question about IEBDG

PostPosted: Sat Apr 20, 2013 12:49 pm
by BillyBoyo
You might want to look at your SORT product for generating the data. It has extensive date processing.

Re: A question about IEBDG

PostPosted: Sat Apr 20, 2013 3:27 pm
by steve-myers
Terminology

There is no such thing as a "QSAM file."
  1. QSAM is an access method. QSAM describes the macro instructions an Assembler programmer uses to access data on disk or tape.
  2. In MVS, a file is the data on a magnetic tape volume between
    1. the beginning of a tape and a "tape mark," or
    2. the data between two "tape marks." Period. End of story.
There is a fundamental difference between a file as used in Linux/Unix/Windoze (LUW) operating systems and MVS. A "file" in LUW systems is a named stream of data. In MVS systems, the data in a "data set" is divided into logical records that have defined characteristics and exist in physical records that also have defined characteristics.

The correct way to state your question is, "I want to use IEBDG to create a sequential data set with whatever data characteristics I want.

Re: A question about IEBDG

PostPosted: Sat Apr 20, 2013 6:41 pm
by Mehdi shri
Ok Mr.steve-myers

I want to use IEBDG to create a sequential data set with whatever data characteristics I saeid above.

Which control satement I must code in my JCL.

Re: A question about IEBDG

PostPosted: Sat Apr 20, 2013 7:04 pm
by enrico-sorichetti
Which control satement I must code in my JCL.

why not look at the manual Yourself ???

starting from here for example ...
http://publib.boulder.ibm.com/infocente ... Fiebdg.htm