MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 24 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Splitting file on the basis of different keywords
Srishti Rawat

Replies: 6
Views: 3750

PostForum: Utilities   Posted: Wed Oct 29, 2025 7:41 am   Subject: Splitting file on the basis of different keywords
Thanks Kolusu.
  Topic: Splitting file on the basis of different keywords
Srishti Rawat

Replies: 6
Views: 3750

PostForum: Utilities   Posted: Wed Oct 29, 2025 2:27 am   Subject: Splitting file on the basis of different keywords
I meant same as the solution you have given in one step. Similarly can we have without join keys since the input file is too big.

I think my statement was not clear.

And you are a pro Kolusu, I ...
  Topic: Splitting file on the basis of different keywords
Srishti Rawat

Replies: 6
Views: 3750

PostForum: Utilities   Posted: Tue Oct 28, 2025 11:57 am   Subject: Splitting file on the basis of different keywords
Thanks a lot Kolusu. My bad I forgot to mention the file length. But this was good.

Just that, my input file is a volume file having around 50-60 million recs. So is there any way we can achieve th ...
  Topic: Splitting file on the basis of different keywords
Srishti Rawat

Replies: 6
Views: 3750

PostForum: Utilities   Posted: Mon Oct 27, 2025 6:35 am   Subject: Splitting file on the basis of different keywords
Hi Team,

I have query related to sort card.
We have one input file having different record types as below.

##header1
##file name
01 abc type 0011
02 dataline1
03 dataline2
10end of file ...
  Topic: Replace variable in File 2 using File 1
Srishti Rawat

Replies: 8
Views: 16468

PostForum: Utilities   Posted: Tue Apr 02, 2024 8:55 am   Subject: Replace variable in File 2 using File 1
Hi Kolusu,

I made some changes in the positions that's why it wasn't working for me. This code is working.

Thanks a lot for your guidance, I learn a lot from here.

Thanks & Regards,
Sris ...
  Topic: Replace variable in File 2 using File 1
Srishti Rawat

Replies: 8
Views: 16468

PostForum: Utilities   Posted: Thu Mar 28, 2024 5:33 am   Subject: Replace variable in File 2 using File 1
I am able to do it in two steps.

First Step: Replacing the 10th position with first field.
Second step using the output of first step and checking for the spaces in the position 40, if not spaces ...
  Topic: Replace variable in File 2 using File 1
Srishti Rawat

Replies: 8
Views: 16468

PostForum: Utilities   Posted: Thu Mar 28, 2024 5:10 am   Subject: Replace variable in File 2 using File 1
Hi Kolusu,

Thank you for the solution.

Condition:
Replace the records starting from position 10 with first field of File1 and if records starting from position 40 is not spaces than replace wi ...
  Topic: Replace variable in File 2 using File 1
Srishti Rawat

Replies: 8
Views: 16468

PostForum: Utilities   Posted: Fri Mar 22, 2024 2:06 pm   Subject: Replace variable in File 2 using File 1
Hi Kolusu,

Thats right.

First '05' record of File2 should be mapped with first record of File1. Rest all the records(other than'05') should be written as it is(in the same order) in the output ...
  Topic: Replace variable in File 2 using File 1
Srishti Rawat

Replies: 8
Views: 16468

PostForum: Utilities   Posted: Fri Mar 22, 2024 8:37 am   Subject: Replace variable in File 2 using File 1
Hi Team,

I have a requirement where we have two input files having field1 of 19 bytes and field2 of 19 bytes again. Another file(File2) having some data.

For all the records starting with '05' i ...
  Topic: Skipping records from input file and writing into output fil
Srishti Rawat

Replies: 3
Views: 20331

PostForum: TSO and ISPF   Posted: Sun Jun 04, 2023 1:54 am   Subject: Skipping records from input file and writing into output fil
Hi Kolusu,

With DFSORT its quite easy.

I am working on an automation in REXX where we are converting the PROD JCLs into TEST JCLs. So we are taking the existing prod jcl as input and creating a ...
  Topic: Skipping records from input file and writing into output fil
Srishti Rawat

Replies: 3
Views: 20331

PostForum: TSO and ISPF   Posted: Sat Jun 03, 2023 9:04 am   Subject: Skipping records from input file and writing into output fil
I am reading the output file which is a PDS member and writing the records into output pds member which we are creating in the REXX itself and doing some processing.
Here, I want to read the input f ...
  Topic: COBOL Packed to display numeric data conversion
Srishti Rawat

Replies: 5
Views: 25440

PostForum: Application Programming   Posted: Sun Mar 26, 2023 10:30 am   Subject: COBOL Packed to display numeric data conversion
Hi Kolusu,

I appreciate the explanation. I tried this with both packed and zoned decimal. Before posting this query in this forum, I already tried moving the variable to PIC -------------.99. which ...
  Topic: COBOL Packed to display numeric data conversion
Srishti Rawat

Replies: 5
Views: 25440

PostForum: Application Programming   Posted: Sat Mar 25, 2023 10:47 am   Subject: COBOL Packed to display numeric data conversion
Hi Kolusu,

Thanks for the reply. I tried it, but the decimal places are varying. Also for the negative number this is showing positive sign.
For ex, for 00000000005907P,
output : +59077.00
exp ...
  Topic: COBOL Packed to display numeric data conversion
Srishti Rawat

Replies: 5
Views: 25440

PostForum: Application Programming   Posted: Fri Mar 24, 2023 6:25 am   Subject: COBOL Packed to display numeric data conversion
Hi Team,

I need to convert packed decimal to signed numeric decimal number in my COBOL program.
I am receiving the amount field from input file as packed decimal s9(13)v9(2) which gets displayed i ...
  Topic: Counting & adding the amounts on the basis of sign bit.
Srishti Rawat

Replies: 7
Views: 8191

PostForum: Utilities   Posted: Fri Nov 18, 2022 12:12 am   Subject: Counting & adding the amounts on the basis of sign bit.
Sure Kolusu. That's what I am doing right now. I thought may be we can do something within the card itself.
Thanks for your time and confirmation.

Regards,
Srishti
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group