BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
THALLA_REDDY
Obsidian | Level 7

Can I export the SAS EG 8.2 process flow code into my Mainframe SAS? If so what is the process to so the same?

 

Any help to solve this is appriciated.

 

Thanks,

Thalla

1 ACCEPTED SOLUTION

Accepted Solutions
TomKari
Onyx | Level 15

A process flow only relates to SAS EG, which is a PC-only product, so that specifically can't be done.

 

However, if your objective is to be able to run the SAS code in the process flow on the mainframe, under the "File" menu entry there's an option to export all of the SAS code in the process flow. It will need some tinkering, but it should be fairly reusable.

 

Tom

View solution in original post

5 REPLIES 5
TomKari
Onyx | Level 15

A process flow only relates to SAS EG, which is a PC-only product, so that specifically can't be done.

 

However, if your objective is to be able to run the SAS code in the process flow on the mainframe, under the "File" menu entry there's an option to export all of the SAS code in the process flow. It will need some tinkering, but it should be fairly reusable.

 

Tom

THALLA_REDDY
Obsidian | Level 7
Hi Tom,
Thanks for your reply, Yeah I tried with the export option but I am getting the issue with length of the code, Since mainframe is can accommodate a length of 80, But here I am getting around 130. Due to this there is a truncation is happening. Any option available to give the length of 80 while exporting the code?
Tom
Super User Tom
Super User

Mainframe can handle lines longer than 80 for code.  You just cannot put it as in-line with your JCL like it was a stack of IBM punch cards.  Save the code into a file and point the SYSIN ddname to the file with the code.

Patrick
Opal | Level 21

Based on the discussion here I'd say no - but you certainly could use auto-formatting together with setting indention to two blank spaces only to avoid too many long lines of code. 

Once you've got your code in a text file you could  process it and split up all lines longer than 72 characters - i.e. using Notepad++ with a RegEx search/replace.

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1609 views
  • 3 likes
  • 5 in conversation