Jcl to crete a file with LRECL=10

Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

Jcl to crete a file with LRECL=10

Postby navin19 » Thu Jan 13, 2011 7:51 am

What will happen if i create a file with LRECL=10 and tried to insert the string called 'Naveenc' ?
Posts: 1
Joined: Thu Jan 13, 2011 7:45 am
Has thanked: 0 time
Been thanked: 0 time

Re: Jcl to crete a file with LRECL=10


Re: Jcl

Postby MrSpock » Thu Jan 13, 2011 8:03 am

1. Can't you just test this out for yourself?
2. Why would you want to create a dataset with an LRECL of only 10?
3. Nothing special or odd would happen. Are you thinking something would?
User avatar
Global moderator
Posts: 811
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: Jcl

Postby dick scherrer » Thu Jan 13, 2011 9:08 am

Hello and welcome to the forum,

Suggest you pay attention as to where you start a topic - it should be started in appropriate part of the forum. This topic was entered in the Suggestions and Feedback part of the forum.

You called the topic "JCL" but this is not a very maningful "subject". Indeed, there is an entire part of the forum for JCL.

What do you mean by "insert the string"? We don't typically use "strings" on the mainframe.

If you explain what you really wan't to learn, your topic can be renamed and reloated.

Suggest you do wsome testing and let us know if something unexpected happens.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Re: Jcl to crete a file with LRECL=10

Postby steve-myers » Fri Jan 14, 2011 12:13 am

JCL by itself does absolutely nothing. It tells the operating system the name of a program to execute, and the data to use when executing the program. You have to find a program that will do the action you want or write a program yourself to do this.

One existing program that might do what you want is an IBM utility called IEBDG, which is documented in this manual. Why don't you read the documentation for this program, write the JCL to execute it, and see what happens.

And that's enough for nothing!
Global moderator
Posts: 1773
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 168 times

Return to All other Mainframe Topics


  • Related topics
    Last post