Hi,
Can anyone please suggest the possible ways to allocate dataset which can have record length more than 32760. I need to allocate record length of 640000.
Dataset with record length > 32760
-
- Posts: 4
- Joined: Sat Mar 10, 2012 1:09 pm
- Skillset: JCL, COBOL, DB2, VSAM, CICS
- Referer: MAINAK NAG
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: Dataset with record length > 32760
The only way that it would be possible would be to give the data set a format of variable blocked/spanned (VBS). If you tell us what you are trying to achieve, we may be able to suggest a realistic alternative.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Dataset with record length > 32760
The physical I/O model used with IBM mainframes makes the use of records > 64K bytes very difficult; the software data management model makes it difficult to use records > 32760.
In 40+ years using IBM mainframes I have never encountered a situation where either the hardware limits or software limits needed to be exceeded; I very much doubt this is true in your potential application.
If you can provide more details we can probably give you realistic advice.
In 40+ years using IBM mainframes I have never encountered a situation where either the hardware limits or software limits needed to be exceeded; I very much doubt this is true in your potential application.
If you can provide more details we can probably give you realistic advice.
-
- Posts: 4
- Joined: Sat Mar 10, 2012 1:09 pm
- Skillset: JCL, COBOL, DB2, VSAM, CICS
- Referer: MAINAK NAG
Re: Dataset with record length > 32760
Hi All,
Thanks for the replies.
I am trying to write the record to a dataset and upload MQ via batch job. The record will be 640k long.
Thanks for the replies.
I am trying to write the record to a dataset and upload MQ via batch job. The record will be 640k long.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: Dataset with record length > 32760
I am not familiar with MQ...
But many utilities support a continuation character. For example, in TSO, it is a plus sign (or minus sign). Add the continuation character at the end of the line and the utility knows to read the next line and append it to this line. Add a continuation character at the end of each line until you complete the entire logical record.
I googled for 'mq continuation character' and found this:
But many utilities support a continuation character. For example, in TSO, it is a plus sign (or minus sign). Add the continuation character at the end of the line and the utility knows to read the next line and append it to this line. Add a continuation character at the end of each line until you complete the entire logical record.
I googled for 'mq continuation character' and found this:
I am not sure if that is what you are referring to.When you are using the command interpreter runmqsc to enter administration commands, a + at the end of a line indicates that the next line is a continuation. Ensure that there is a space between the last parameter and the continuation character.
Pedro Vera
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: Dataset with record length > 32760
You asked "possible ways to allocate dataset which can have record length more than 32760", but your real question was 'how to submit a long command to MQ'.
Pedro Vera
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Merge multiple fixed length files of different record length
by corvette1982 » Mon Mar 01, 2021 11:46 pm » in JCL - 8
- 5335
-
by willy jensen
View the latest post
Tue Mar 02, 2021 3:02 am
-
-
-
Convert fixed-length input records to variable-length output
by xcspg3 » Wed Oct 23, 2024 1:45 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1499
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
Copy partial record after a string in a record using SORT.
by Esmayeelhusen » Thu May 04, 2023 3:03 pm » in DFSORT/ICETOOL/ICEGENER - 16
- 4351
-
by Esmayeelhusen
View the latest post
Mon May 22, 2023 3:50 pm
-
-
- 14
- 8491
-
by indianrajput
View the latest post
Wed Nov 24, 2021 11:33 pm
-
-
Replace a string with another string with different length
by Devrana » Sun Jan 19, 2025 3:23 pm » in JCL - 1
- 1658
-
by sergeyken
View the latest post
Sun Jan 19, 2025 11:07 pm
-