Page 1 of 1

pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 1:11 pm
by qsc123
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?

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 1:18 pm
by qsc123
PS: a total of 5 files are being used

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 1:55 pm
by MrSpock
qsc123 wrote:what exactly is a record code/id ? and how is it used?


Someone else just asked that exact same question.

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 3:36 pm
by qsc123
ok...am not able to locate it..if u know the answer do let me know!

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 3:48 pm
by dick scherrer
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. . .

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 3:57 pm
by qsc123
the question was not very clear and so no reply was posted

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 4:09 pm
by dick scherrer
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.

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 4:22 pm
by qsc123
thank u so much.this is the information i was looking for.

Re: pls help! jcl and record code

PostPosted: Wed Jan 14, 2009 4:22 pm
by qsc123
can u help me out with the first question as well?

Re: pls help! jcl and record code

PostPosted: Thu Jan 15, 2009 2:58 am
by dick scherrer
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.