pls help! jcl and record code



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

pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 1:11 pm

What exactly is a record code/id ? and how is it used??

also i have a pgm with an input file. the input is validated and put in a second file. a sort descriptor is used to sort the validated records and put in another file. the sorted data is written into another new file in the form of a report.

am not able to figure out how the jcl should be for the above. can anyone pls help me out?
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 1:18 pm

PS: a total of 5 files are being used
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby MrSpock » Wed Jan 14, 2009 1:55 pm

qsc123 wrote:what exactly is a record code/id ? and how is it used?


Someone else just asked that exact same question.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 3:36 pm

ok...am not able to locate it..if u know the answer do let me know!
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby dick scherrer » Wed Jan 14, 2009 3:48 pm

Hello,

am not able to locate it..
Did you click on the link MrSpock provided? "Mouse-over" his reply and you will see it is a link. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 3:57 pm

the question was not very clear and so no reply was posted
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby dick scherrer » Wed Jan 14, 2009 4:09 pm

Hello,

That is correct. . .

The reply was a request for clarification. As you have posted the same unclear question, maybe you can provide some clarification.

We had no idea what is being asked which makes it rather difficult to provide a reply.

Possibly, thru reading you new version of the question, i can make an attempt. Many sequential files contain a field (code/id/type) that identifies the content of a record. In an Order Entry system, record type 01 might be the Order Header, type 02 might be shipping information, type 03 might be billing information, type 04 might be order item details, type 05 might be special shipping instructions. When the same application is implemented using a database, each type becomes a separate table and to work with an order, the tables are joined.

If this is not what you are looking for let us know and we'll try again.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 4:22 pm

thank u so much.this is the information i was looking for.
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby qsc123 » Wed Jan 14, 2009 4:22 pm

can u help me out with the first question as well?
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pls help! jcl and record code

Postby dick scherrer » Thu Jan 15, 2009 2:58 am

Hello,

can u help me out with the first question as well?
also i have a pgm with an input file. the input is validated and put in a second file. a sort descriptor is used to sort the validated records and put in another file. the sorted data is written into another new file in the form of a report.

am not able to figure out how the jcl should be for the above. can anyone pls help me out?
Possibly the second question? :)

You will need more than jcl. . . If you post some sample input and how you want that input processed (your requirement rules), someone may have a suggestion.

Which sort product is used on your system? If you are not sure, run any sort and the product release is shown in the informational output.

Also, multiple unrelated questions should not be asked in the same topic. Once this question is better understood, i will split it into a separate topic.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post