Page 1 of 1

Jcl to crete a file with LRECL=10

PostPosted: Thu Jan 13, 2011 7:51 am
by navin19
What will happen if i create a file with LRECL=10 and tried to insert the string called 'Naveenc' ?

Re: Jcl

PostPosted: Thu Jan 13, 2011 8:03 am
by MrSpock
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?

Re: Jcl

PostPosted: Thu Jan 13, 2011 9:08 am
by dick scherrer
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.

Re: Jcl to crete a file with LRECL=10

PostPosted: Fri Jan 14, 2011 12:13 am
by steve-myers
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!