帮助我使用大型机JCL代码进行排序和分组 [英] Help me in Mainframe JCL code for sorting and grouping

查看:100
本文介绍了帮助我使用大型机JCL代码进行排序和分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

输入文件布局
索赔编号-1到5个字节类型-字母数字
被保险人姓名-6至20个字节,类型-字母数字
发生的数量-21到28个字节,类型-s9(13)v99 COMP-3
付费金额-21到28个字节,类型-s9(13)v99 COMP-3

编写一个JCL以使用给定的前5个字节字符对给定的输入文件进行排序,并根据理赔编号进行分组以将已发生和已支付的金额相加

这个问题请使用JCL代码帮助我....

Input File Layout
Claim No. - 1 to 5 bytes Type - Alphanumeric
Insured Name - 6 to 20 bytes, Type - Alphanumeric
Incurred Amount - 21 to 28 bytes, Type - s9(13)v99 COMP-3
Paid Amount - 21 to 28 bytes, Type - s9(13)v99 COMP-3

Write a JCL to sort the given input file with the first 5 byte character and sum the Incurred and Paid amounts by grouping based on Claim No.

Thi sis the question pls help me with the JCL code....

推荐答案

如果您要张贴作业,至少要尝试使其看起来像您一样尝试自己做点什么!

我们不做您的作业:这是有原因的.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试,或学习魔语:您要用它炸薯条吗?"
If you are going to post your homework, at least try to make it look like you have attempted to do something yourself!

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, or learn the Magic Words: "Do you want fries with that?"


这篇关于帮助我使用大型机JCL代码进行排序和分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆