Joined: 01 Aug 2005 Posts: 105 Location: Somerset, NJ
In a fetch operation you don't have to specify any thing in NULLIND, it just gets populated as Dave said.
If you're fetching a table with one(or more) of the fields declared as NOT NULL into a copybook, you'll need to modify the DCLGEN to have a null indicator variable in the copybook. Depending on the value of NULLIND, you should populate this indecator variable(with a question mark or something).
This's just one way of handling nulls, this's helpful in unloading tables into flat files and then used to load other tables(widely used in migration systems.)