A question about IEBDG



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

A question about IEBDG

Postby Mehdi shri » Sat Apr 20, 2013 12:23 pm

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.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: A question about IEBDG

 

Re: A question about IEBDG

Postby BillyBoyo » Sat Apr 20, 2013 12:49 pm

You might want to look at your SORT product for generating the data. It has extensive date processing.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: A question about IEBDG

Postby steve-myers » Sat Apr 20, 2013 3:27 pm

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.

These users thanked the author steve-myers for the post:
Anuj Dhawan (Tue Apr 30, 2013 7:09 pm)
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: A question about IEBDG

Postby Mehdi shri » Sat Apr 20, 2013 6:41 pm

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.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: A question about IEBDG

Postby enrico-sorichetti » Sat Apr 20, 2013 7:04 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post