zos - How to create a standardized header in zOS ISPF panel definition - Stack Overflow

This has always bugged me. My system has about 150 panels and all of them have the same header. What I

This has always bugged me. My system has about 150 panels and all of them have the same header. What I want to do is insert a few lines of code from a standardized header member at the top of all these panels. This is too much duplicated code for my liking.

I thought )IM would do it but either it doesn't or i'm doing it wrong.

The main panel is this...

)ATTR
  + TYPE(TEXT) COLOR(WHITE)
  _ TYPE(INPUT) COLOR(RED)
  % TYPE(OUTPUT) COLOR(BLUE)
)BODY
)IM STDHEAD
+
+ ENTER SUB-SYSTEM CODE _SUBSYSCD+
+
)INIT
)PROC
)END

The member STDHEAD would contain something like this...

+
+You are in system %SYSCD+
+

Fot to mention that I had the STDHEAD member in the same library as the calling member and in a library in the concatenation for the LIBDEF ISPPLIB.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745575432a4633933.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信