Author |
Message |
Topic: Extract group records based on matching file names |
kolusu
Replies: 2
Views: 52
|
Forum: Utilities Posted: Thu Oct 09, 2025 9:17 pm Subject: Re: Extract group records based on matching file names |
Every group consists of 4 records, and if a file name matches either FILE1 or FILE2, or FILE4 then I want to write out those group's records to an Output file.
nbdtrjk_1,
Can the file1 , fil ... |
Topic: Data Masking/Sanitizing/Disguise Tools |
kolusu
Replies: 2
Views: 793
|
Forum: Utilities Posted: Wed Oct 01, 2025 5:59 am Subject: Data Masking/Sanitizing/Disguise Tools |
Dibakar,
You can use Cryptographic services to encrypt the data
https://www.ibm.com/docs/en/zos/3.2.0?topic=zos-cryptographic-services
You can also use "Data Privacy for Diagnostics&q ... |
Topic: Help with INREC Overlapping Columns & SEQNUM for Groupin |
kolusu
Replies: 3
Views: 1877
|
Forum: Utilities Posted: Sat Sep 13, 2025 11:54 am Subject: Help with INREC Overlapping Columns & SEQNUM for Groupin |
Suchay,
A few issues.
1. Your first attempt failed because you are using BUILD which cannot see the new fields that you added at the end of the record.
2. You are adding the new key on INREC ... |
Topic: How to extract and check bit values via Easytrieve |
kolusu
Replies: 6
Views: 5108
|
Forum: Application Programming Posted: Sat Aug 02, 2025 8:03 am Subject: How to extract and check bit values via Easytrieve |
DEFINE HEX-STATUS W X 2
In our shop we are using the Easytrieve IMU. Does 'X' is the valid in the above definition ?
nbdtrjk_1,
I made it abundantly clear that my code is untested. ... |
Topic: How to extract and check bit values via Easytrieve |
kolusu
Replies: 6
Views: 5108
|
Forum: Application Programming Posted: Fri Aug 01, 2025 10:30 am Subject: How to extract and check bit values via Easytrieve |
nbdtrjk_1,
Your question has got NOTHING to do with BITS. You just need to validate a hex value. I am just showing for 1 byte , you can expand it handle all the bytes from 26 to 4055 using an ar ... |
Topic: How to extract and check bit values via Easytrieve |
kolusu
Replies: 6
Views: 5108
|
Forum: Application Programming Posted: Tue Jul 29, 2025 8:41 am Subject: How to extract and check bit values via Easytrieve |
if bit values is 0 then do something
if bit values is 8 then do something
if bit values is 1 then do something
can someone help me how to get this done ?
nbdtrjk_1,
Not sure if you rea ... |
Topic: Parsing money denomination counts using DFSORT |
kolusu
Replies: 2
Views: 2496
|
Forum: Utilities Posted: Tue Jul 29, 2025 8:34 am Subject: Parsing money denomination counts using DFSORT |
S1,
It is a little bit tricky as you want to parse and re-arrange based on the denomination value. The following DFSORT JCL will give you the desired results
//STEP0100 EXEC PGM=SORT ... |
Topic: Parser for JCL |
kolusu
Replies: 2
Views: 5665
|
Forum: Job Control Language(JCL) Posted: Mon Jun 09, 2025 8:48 am Subject: Parser for JCL |
bauer,
A simple SUPERC in batch for DSN= and PGM= will give you the list of the datasets and programs, however, it wouldn't be able to find which datasets needs to be deleted.
Also unless you ... |
Topic: Variables in fileaid batch JCL |
kolusu
Replies: 6
Views: 6829
|
Forum: Utilities Posted: Sun Mar 09, 2025 8:38 am Subject: Variables in fileaid batch JCL |
For example, in the below statement
$$DD01 COPY MOVE=(1,20,1),MOVE=(76,10C? ?)
in place of 20, I want to use some variable STP which has value 20.
something like this
STP=2 ... |
Topic: Mixed dups. |
kolusu
Replies: 1
Views: 5537
|
Forum: Utilities Posted: Fri Dec 20, 2024 5:29 pm Subject: Mixed dups. |
ramy2016,
You need to use the trick of joinkeys matching the file to it self. The second file will count the number of duplicates and upon matching every record has the counter. Now we can just el ... |
Topic: DFSort/ICETOOL PARSE on optional fields in variable position |
kolusu
Replies: 4
Views: 6714
|
Forum: Utilities Posted: Mon Nov 04, 2024 1:21 pm Subject: DFSort/ICETOOL PARSE on optional fields in variable position |
peterwarren,
Try these untested control cards
//SYSIN DD *
OPTION COPY,VLSCMP
INCLUDE COND=((2363,1,CH,NE,C'Y ... |
Topic: DFSort/ICETOOL PARSE on optional fields in variable position |
kolusu
Replies: 4
Views: 6714
|
Forum: Utilities Posted: Sat Nov 02, 2024 2:24 am Subject: DFSort/ICETOOL PARSE on optional fields in variable position |
peterwarren,
It is not clear as to what the real requirement is. Please answer the following questions
1. What is the LRECL and RECFM of the input file?
2. Can the records contain ALL 3 se ... |
Topic: Replace variable digits with zero |
kolusu
Replies: 3
Views: 5240
|
Forum: Utilities Posted: Mon Oct 21, 2024 11:30 pm Subject: Replace variable digits with zero |
jathampy,
It is quite simple to replace the variable contents. Here is an untested DFSORT JCL that will give you the desired results.
//SYSIN DD * ... |
Topic: EBCDIC to UTF-8 |
kolusu
Replies: 3
Views: 6971
|
Forum: Utilities Posted: Sun Sep 29, 2024 9:10 pm Subject: EBCDIC to UTF-8 |
psivamadhusudhan,
You need to talk to your system programmer if the conversion service is installed. If you are authorized to issue system commands then you can issue the command D UNI,CONV OR
... |
Topic: EBCDIC to UTF-8 |
kolusu
Replies: 3
Views: 6971
|
Forum: Utilities Posted: Sun Sep 29, 2024 9:15 am Subject: EBCDIC to UTF-8 |
psivamadhusudhan,
Sort products do not have the ability to perform character set conversions. However you can use iconv utility to do the conversion. Check this link
https://www.ibm.com/docs/ ... |
|