Hi,
I have converted sequential file from VB to FB and i would like to know how to check the Maximum record length of the FB file. is there a way or utility which i can use in JCL to get the record length as i have 1000+ files which are being converted and this is a repeat process.
Thank You,
Dhansr.
After converting VB to FB, how to check LRECL in JCL?
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: After converting VB to FB, how to check LRECL in JCL?
in order to carry on a conversion from VB to FB You are supposed to know the FB record length
also a FB dataset DOES NOT HAVE a maximum record length
so what is that You want to check ...
also a FB dataset DOES NOT HAVE a maximum record length
so what is that You want to check ...
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: After converting VB to FB, how to check LRECL in JCL?
The maximum record length of a FB (fixed block) data set will be the same as the minimum record length will be the same as the LRECL you specified. The "fixed" in "fixed block" means the record length does not change -- ever. So if you are wanting to check the maximum record length, either you did not create a fixed block data set or you do not understand what FB means, or both.i would like to know how to check the Maximum record length of the FB file
There is no easy automated way to see what the record lengths are for 1000+ files, nor is it clear why you want an automated way to do this. You can use ISPF or DCOLLECT reporting or ISMF or (if your site has it) SAS or a REXX to generate a listing of data sets with LRECL, but then you have to manually eyeball the report to see the LRECL values.
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: After converting VB to FB, how to check LRECL in JCL?
a bulletproof way would be to extract for each VB dataset the maximum REAL record length
and generate automatically the conversion jobs and control cards
and generate automatically the conversion jobs and control cards
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 5
- Joined: Wed Jun 29, 2016 11:21 pm
- Skillset: Mainframe, REXX, COBOL, JCL, VSAM, CICS, MVS
- Referer: google
Re: After converting VB to FB, how to check LRECL in JCL?
Hi All,
Thanks for the response, just to provide more clarity, currently i have a physical sequential VB file with LRECL defined as 32760. On manual inspection of these files we found that the data is usually around 80 to 120 characters only "varying by files". we want to write only the real record length data to the VB file and not the complete 32760 length. we will not be able to do manual inspection of each file to get that length, so trying to find out if there is a systematic way of determining the REAL record length in the files.
Thank You,
dhansr.
Thanks for the response, just to provide more clarity, currently i have a physical sequential VB file with LRECL defined as 32760. On manual inspection of these files we found that the data is usually around 80 to 120 characters only "varying by files". we want to write only the real record length data to the VB file and not the complete 32760 length. we will not be able to do manual inspection of each file to get that length, so trying to find out if there is a systematic way of determining the REAL record length in the files.
Thank You,
dhansr.
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: After converting VB to FB, how to check LRECL in JCL?
If you have SAS available, it can be used to find the longest length record. Otherwise, if your site runs SYNCSORT the HISTOGRAM utility will provide you with record length information.
If neither of these options is available, you could write a program (COBOL would work well for this) to determine the longest record for each data set.
If neither of these options is available, you could write a program (COBOL would work well for this) to determine the longest record for each data set.
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: After converting VB to FB, how to check LRECL in JCL?
DFSORT ICETOOL statement:
STATS FROM(DD1) ON(VLEN)
will tell you
STATS FROM(DD1) ON(VLEN)
will tell you
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Converting universal groups to normal Racf group
by aarvalar1 » Thu May 23, 2024 10:15 pm » in Mainframe Security - 5
- 2788
-
by Robert Hansel
View the latest post
Wed Jul 24, 2024 5:12 pm
-
-
- 0
- 3506
-
by zeller56
View the latest post
Sun Oct 01, 2023 1:50 am
-
- 10
- 4318
-
by chillmo
View the latest post
Thu Mar 13, 2025 12:01 am
-
-
Getting 0F01C008 Error while running SMP/e Apply Check Job
by csakil » Tue Apr 06, 2021 10:58 pm » in System programming - 0
- 2860
-
by csakil
View the latest post
Tue Apr 06, 2021 10:58 pm
-
-
-
Security Check for Data centre migration
by aarvalar1 » Fri Apr 14, 2023 4:58 pm » in Mainframe Security - 2
- 2555
-
by aarvalar1
View the latest post
Mon Apr 17, 2023 2:50 pm
-