how to know the LRECL of a tape entry?
Actually I couldnot view the content of a tape Entry.Hence I could copy the content to other File and see what are its content.
But how could I know wht its LRECL.
LRECL of a tape entry
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: LRECL of a tape entry
Hello Chettiha and welcome to the forums,
I'd suggest you talk with your tape management people or your operations support people and ask them to look in the tape management system (if there is one) or to "print the tape header labels". DCB info is in the header labels.
I'd suggest you talk with your tape management people or your operations support people and ask them to look in the tape management system (if there is one) or to "print the tape header labels". DCB info is in the header labels.
Hope this helps,
d.sch.
d.sch.
-
- Posts: 3
- Joined: Mon Jun 02, 2008 10:08 am
- Skillset: COBOL,JCL,VSAM,CICS,DB2
- Referer: through referrals
Re: LRECL of a tape entry
Hello,
Thanks fo the Quick Response.
But can we copy it using some IDCAMS Utility and use its DCB default as that of the reqired tape entry and
know its LRECL.
Thanks fo the Quick Response.
But can we copy it using some IDCAMS Utility and use its DCB default as that of the reqired tape entry and
know its LRECL.
-
- Posts: 62
- Joined: Wed Apr 23, 2008 1:37 pm
- Skillset: Mainframe - JCL, COBOL, VSAM, DB2, REXX, CICS
- Referer: Internet Search
- Location: Chennai, India
- Contact:
Re: LRECL of a tape entry
Hi,
I was going through your second question but unclear about the default DCB that you are talking about. Please mention an example. To my knowledge you cant use a different LCREL to get the data, your job may fail.
If you are hesitating to approach the system support people to find the header information (as they ask many approvals etc..) as Dick mentioned, my suggestions to find the LRECL, (if you have not done the following)
1. Search for the dataset name (at least partial) in the PRODUCTION JCL library, PROC library, datacard library to check whether any job created that dataset (If it is created in the recent past then definitely you will find the job)
2. If you dont find the dataset name in the production then, as per the naming convention used in your TEST region, search for the dataset name using the prefix used in test region
3. If you dont find in both the above cases, then try for any similar kind of dataset name may be for different purposes, like backup or Inbound/Outbound files for different vendors etc.. with the approximate you may find the LRECL
4. If you dont find the dataset (at least partial) name in any of your dataset libraries, then only way to find is as mentioned by Dick
Hope this information helps..
I was going through your second question but unclear about the default DCB that you are talking about. Please mention an example. To my knowledge you cant use a different LCREL to get the data, your job may fail.
If you are hesitating to approach the system support people to find the header information (as they ask many approvals etc..) as Dick mentioned, my suggestions to find the LRECL, (if you have not done the following)
1. Search for the dataset name (at least partial) in the PRODUCTION JCL library, PROC library, datacard library to check whether any job created that dataset (If it is created in the recent past then definitely you will find the job)
2. If you dont find the dataset name in the production then, as per the naming convention used in your TEST region, search for the dataset name using the prefix used in test region
3. If you dont find in both the above cases, then try for any similar kind of dataset name may be for different purposes, like backup or Inbound/Outbound files for different vendors etc.. with the approximate you may find the LRECL
4. If you dont find the dataset (at least partial) name in any of your dataset libraries, then only way to find is as mentioned by Dick
Hope this information helps..
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: LRECL of a tape entry
If the tape has Standard Labels (containing the info Dick mentioned) then some utilities (IEBGENER, SORT w/COPY, etc) will allow you to copy the file and automatically create the output file with the same LRECL. SORT messages will show the LRECL of the files.
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
-
- Posts: 62
- Joined: Wed Apr 23, 2008 1:37 pm
- Skillset: Mainframe - JCL, COBOL, VSAM, DB2, REXX, CICS
- Referer: Internet Search
- Location: Chennai, India
- Contact:
Re: LRECL of a tape entry
Hi Bill Dennis,
Could you please give an example on how it creates automatically with the same LRECL using IEBGENER? I am curious..
Regards,
Jayind
Could you please give an example on how it creates automatically with the same LRECL using IEBGENER? I am curious..
Regards,
Jayind
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: LRECL of a tape entry
Just a simple step without DCB info on SYSUT2The SYSOUT msgs will show the LRECL of the input and it will be used for copy file.
Code: Select all
//GEN2A EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=your.tape.dsname,DISP=OLD,UNIT=TAPE,VOL=SER=tapeno
//SYSUT2 DD DSN=your.copy.dsname,DISP=(NEW,KEEP),UNIT=TAPE
//SYSIN DD DUMMY
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
How I am able to assemble an SMP/E module from ASSEM entry
by futohomok » Thu Mar 14, 2024 2:32 pm » in System programming - 0
- 2970
-
by futohomok
View the latest post
Thu Mar 14, 2024 2:32 pm
-
-
-
Recatalog Error:Moving a dataset entry from one cat to other
by gselvasridharan » Fri Apr 07, 2023 1:33 pm » in VSAM/SMS - 3
- 4932
-
by gselvasridharan
View the latest post
Mon Apr 10, 2023 12:58 pm
-
-
-
Multiple remote job entry writing to the same dataset
by MLK2348 » Wed Nov 15, 2023 3:55 am » in JCL - 1
- 2259
-
by willy jensen
View the latest post
Wed Nov 15, 2023 1:50 pm
-
-
-
Ho can I to assemble any ASSEM entry in some target zone
by futohomok » Mon Oct 30, 2023 2:32 pm » in IMS DB/DC - 0
- 2228
-
by futohomok
View the latest post
Mon Oct 30, 2023 2:32 pm
-
-
-
How to add new TAPE=359L into OAM,RMM.
by curious_man » Thu Nov 04, 2021 8:02 pm » in All other IBM Tools - 1
- 2095
-
by curious_man
View the latest post
Mon Nov 08, 2021 8:15 pm
-