Quantcast
Channel: IBM Mainframe Computers Forums
Browsing all 8500 articles
Browse latest View live
↧

DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: Arun Raj Posted: Sat Nov 12, 2016 12:02 am (GMT 5.5)Rohit Umarjikar wrote:Quote:I keep the three records of the most populous cities Is there any logic to pick popular cities else you can try...

View Article


Image may be NSFW.
Clik here to view.

DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: Rohit Umarjikar Posted: Sat Nov 12, 2016 12:14 am (GMT 5.5)Code://SYSIN DD *                                                         SORT FIELDS=(1,3,CH,A,10,2,ZD,D)...

View Article


DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: RahulG31 Subject: Reply to: For each given key value, how to keep up to the first n recs Posted: Sat Nov 12, 2016 12:15 am (GMT 5.5) Div Grad, If you already have the population in descending...

View Article

DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: Arun Raj Posted: Sat Nov 12, 2016 12:41 am (GMT 5.5) And when you assign a sequence number, make sure it can accommodate 'more people'. Something like Code:SEQ=8 in your actual control...

View Article

DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: Div Grad Posted: Sat Nov 12, 2016 2:24 am (GMT 5.5) I went with RahulG31's option and it worked like a charm! Thanks so much everyone!

View Article


DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...

Author: Bill Woodger Subject: Reply to: For each given key value, how to keep up to the first n recs Posted: Sat Nov 12, 2016 2:44 am (GMT 5.5) If your data is already in order, just use a SEQNUM with...

View Article

DFSORT/ICETOOL :: TOT & DATE parameter in ICEMAN

Author: hemanthj642 Subject: TOT & DATE parameter in ICEMAN Posted: Mon Nov 14, 2016 5:19 am (GMT 5.5) Hi, Can you please help me with the below: The input file is VB My requirement is based on the...

View Article

Image may be NSFW.
Clik here to view.

DFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN

Author: Rohit Umarjikar Posted: Mon Nov 14, 2016 8:57 am (GMT 5.5)Quote:I'm unable to get the date and also the amount is in ZD format You will have to tell clearly what the exact issue that you are...

View Article


DFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN

Author: Arun Raj Posted: Mon Nov 14, 2016 8:58 am (GMT 5.5) From what you have described above, you can do this in one step and you are almost there. Does the input PD amount start at position-956? But...

View Article


DFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN

Author: Bill Woodger Subject: Reply to: TOT & DATE parameter in ICEMAN Posted: Mon Nov 14, 2016 1:46 pm (GMT 5.5) hemanthj642, For your packed-decimal total, you need to "convert" the result to...

View Article

DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Trinadh Posted: Mon Nov 14, 2016 2:45 pm (GMT 5.5) Hi Bill, I've tried implementing OUTREC IFTHEN code and facing the errors stated below.Code:SORT FIELDS=COPY OUTFIL FILES=01,...

View Article

DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Bill Woodger Subject: Reply to: How to update a portion of text in a trailer record Posted: Mon Nov 14, 2016 3:34 pm (GMT 5.5) Has someone hijacked your account, or your name? I suppose if...

View Article

DFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN

Author: Arun Raj Posted: Mon Nov 14, 2016 6:36 pm (GMT 5.5)Quote:The 13,2 has two decimal-digits as part of the total of 13 digitsI was thinking if it could also mean 9(13)V9(2). Then the length of 7...

View Article


DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Arun Raj Posted: Mon Nov 14, 2016 7:11 pm (GMT 5.5)Quote:I tried INREC IFTHEN too and facing the same error codes One of the suggestions made earlier was to have a separate INREC/OUTREC (and...

View Article

DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Trinadh Posted: Mon Nov 14, 2016 7:13 pm (GMT 5.5) Hi Bill, I've given the sort control cards from position 2 only. I think this is a problem with my editor, as I'm coding it here directly...

View Article


DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Arun Raj Posted: Mon Nov 14, 2016 7:28 pm (GMT 5.5)Quote:When I removed the OUTREC in OUTFIL FILES =02 and 03, it is working fineAre you sure, it is giving you the expected results? If it does...

View Article

DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

Author: Bill Woodger Subject: Reply to: How to update a portion of text in a trailer record Posted: Mon Nov 14, 2016 10:16 pm (GMT 5.5) Although you can have multiple OUTFIL statements, you can only...

View Article


COBOL Programming :: Problem in writing Output file

Author: vickey_dw Subject: Problem in writing Output file Posted: Mon Nov 14, 2016 11:14 pm (GMT 5.5) Hi All, I have written a program which reads from cursor and writes in output file. But i am...

View Article

COBOL Programming :: RE: Problem in writing Output file

Author: Arun Raj Posted: Mon Nov 14, 2016 11:30 pm (GMT 5.5) Check if your program is running into an infinite loop._________________Arun...

View Article

COBOL Programming :: RE: Problem in writing Output file

Author: Bill Woodger Subject: Reply to: Problem in writing Output file Posted: Mon Nov 14, 2016 11:33 pm (GMT 5.5) No. What is more likely is that you got a FILE STATUS of 34, ignored it, and then got...

View Article
Browsing all 8500 articles
Browse latest View live